Rozas, Carlos V
2005-Nov-22 23:21 UTC
RE: [Xen-devel] Build break -cc1: error: unrecognized option`-Wdeclaration-after-statement''
''-Wdeclaration-after-statement'' isn''t supported by gcc 3.3 which is what I am currently using. It was introduced into Config.mk in changeset 7973:c7508abc5b6b. I backed out the changes and everything appears to be building okay.> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > Jerone Young > Sent: Tuesday, November 22, 2005 1:40 PM > To: David F Barrera > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] Build break -cc1: error: > unrecognized option`-Wdeclaration-after-statement'' > > What distro was this on ? gcc vesrion ? > > On Tue, 2005-11-22 at 15:07 -0600, David F Barrera wrote: > > Unable to build Xen on x86_64 machine: > > > > changeset: 7974:393256b2ead0 > > tag: tip > > user: smh22@firebug.cl.cam.ac.uk > > date: Tue Nov 22 12:10:50 2005 +0100 > > summary: Avoid GPF when attempting to save / restore > 64bit guests. > > More thought > > > > > > make[4]: Entering directory `/tmp/xen-unstable.hg/xen/tools'' > > gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer > > -Wdeclaration-after-statement -o symbols symbols.c > > cc1: error: unrecognized option `-Wdeclaration-after-statement'' > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2005-Nov-23 08:51 UTC
Re: [Xen-devel] Build break -cc1: error: unrecognized option`-Wdeclaration-after-statement''
On 22 Nov 2005, at 23:21, Rozas, Carlos V wrote:> ''-Wdeclaration-after-statement'' isn''t supported by gcc 3.3 which is > what > I am > currently using. It was introduced into Config.mk in changeset > 7973:c7508abc5b6b. > I backed out the changes and everything appears to be building okay.I''ll check in a fix to add the flag conditionally... -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Seemingly Similar Threads
- [PATCH] : Add -Wdeclaration-after-statement
- Compile Error xen 3.0.1 on FC5 "cc1: warnings being treated as errors"
- Make for Ruby 1.9.3 results in "cc1: out of memory allocating X bytes after a total of Y bytes"
- [LLVMdev] cc1: error: unrecognized command line option "-Wno-overlength-strings"
- [LLVMdev] cc1: error: unrecognized command line option "-Wno-overlength-strings"