[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Xen build error based on gcc version


  • To: "xen-devel mailing list" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Wed, 26 Nov 2008 16:15:00 -0500
  • Delivery-date: Wed, 26 Nov 2008 13:15:38 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=oCMqkNstg7MQqIylT9WdZtYCDVVbrfAPV+L+A8SWRWCTRlAYoUKykKBD/EUXhQu3fv PcWV1eqibEJZ1RvBiRa0OXSlFVbumOLE8PJuimnGfHn4vBLpwkxZLNma/QSND7gqvd/b I/gKUGuvmAH9z9u18z/A7XAiMZslo4lNd9PhI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Specific gcc versions seem to have trouble and error out on:

(xen/tools/symbols.c)

symbols.c:84: error: ignoring return value of 'fgets', declared with
attribute warn_unused_result

It has been reported to xen-users are a few occasions, with different
versions of Xen. [1][2][3] Presumably different gcc versions since two
of them are older posts and on different versions of Xen.

I just ran across it on Ubuntu 8.10 gcc version 4.3.2 compiling xen-unstable.

If I switch the compiler to 3.4 or 4.2 it compiles fine.

It is a gcc problem or a problem with the Xen code?

Cheers,
Todd

[1] http://xen.markmail.org/search/?q=fgets symbol.c#query:fgets
symbol.c+page:1+mid:hzvevwa6e6jcunul+state:results

[2] http://xen.markmail.org/search/?q=fgets symbol.c#query:fgets
symbol.c from%3A"Zoran
Kikic"+page:1+mid:3icw4rdteaco6kmf+state:results

[3] http://xen.markmail.org/search/?q=fgets symbol.c#query:fgets
symbol.c from%3A"Zoran
Kikic"+page:1+mid:nwiob3nl42u2dxq3+state:results

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.