xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Compilation Error in extras/mini-os/tpmback.c
@ 2014-07-16  5:55 Dushyant Behl
  2014-07-16  9:13 ` Ian Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: Dushyant Behl @ 2014-07-16  5:55 UTC (permalink / raw)
  To: xen-devel

Hi,

I'm trying to compile xen from the source and i'm getting this
compilation error while running a make world.

tpmback.c: In function ‘tpmif_change_state’:
tpmback.c:350:4: error: format ‘%d’ expects argument of type ‘int *’,
but argument 3 has type ‘enum xenbus_state *’ [-Werror=format=]
    if(sscanf(value, "%d", &readst) != 1) {
    ^
cc1: all warnings being treated as errors
make[3]: *** [/home/corvo/gsoc/code/xen/stubdom/mini-os-x86_64-vtpm/tpmback.o]
Error 1

Could anyone explain that if this is just problem on my side or this
is not fixed in the git tree.

Thanks and Regards,
Dushyant

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-18 10:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16  5:55 Compilation Error in extras/mini-os/tpmback.c Dushyant Behl
2014-07-16  9:13 ` Ian Campbell
2014-07-17 18:21   ` Samuel Thibault
2014-07-18  9:55     ` Ian Campbell
2014-07-18 10:01       ` Dushyant Behl
2014-07-18 10:09         ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).