|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Xen build error based on gcc version
I'll try and get gcc 4.3.2 running myself tomorrow and fix any problems I
find.
-- Keir
On 26/11/08 21:15, "Todd Deshane" <deshantm@xxxxxxxxx> wrote:
> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|