Re: [osol-code] Building with gcc

2009-12-02 Thread Rainer Orth
Neale Ferguson writes: > There's the -Wno-deprecated flag which will do the job for me. I didn't see > it the first few times, I was looking for something more specific. Besides, the warning is gone completely in GCC 4.5. Rainer -- ---

Re: [osol-code] Building with gcc

2009-12-01 Thread Richard Lowe
Albert Lee writes: > > Likewise, if cdm's pbchk is already catching #pragma ident, it's clearly a > bug for it to ignore #ident. > It catches anything that looks to be an SCCS keyword, it shouldn't care about #ident, #pragma ident, or any other non /%.%/ section of the line containing them. --

Re: [osol-code] Building with gcc

2009-12-01 Thread James Carlson
On Dec 1, 2009, at 8:40 PM, Albert Lee wrote: Or are the remaining hundreds of instances actually indicative of files left in dusty corners? In that case, they'd conveniently mark prime targets for a spring cleaning. It's ancient stuff that otherwise needs no tending. The usual rule is th

Re: [osol-code] Building with gcc

2009-12-01 Thread Neale Ferguson
There's the -Wno-deprecated flag which will do the job for me. I didn't see it the first few times, I was looking for something more specific. Neale -- This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@opensola

Re: [osol-code] Building with gcc

2009-12-01 Thread Dan Mick
Albert Lee wrote: On Tue, 01 Dec 2009 16:10:18 -0800, Garrett D'Amore wrote: James Carlson wrote: Rafael Vanoni wrote: If the ident's you're referring to are of the form #pragma ident"%Z%%M%%I%%E% SMI" then yes. These are leftovers from Teamware, before we moved to Mercur

Re: [osol-code] Building with gcc

2009-12-01 Thread Albert Lee
On Tue, 01 Dec 2009 16:10:18 -0800, Garrett D'Amore wrote: > James Carlson wrote: >> Rafael Vanoni wrote: >> >>> If the ident's you're referring to are of the form >>> >>> #pragma ident"%Z%%M%%I%%E% SMI" >>> >>> then yes. These are leftovers from Teamware, before we moved to >>>

Re: [osol-code] Building with gcc

2009-12-01 Thread Garrett D'Amore
James Carlson wrote: Rafael Vanoni wrote: If the ident's you're referring to are of the form #pragma ident"%Z%%M%%I%%E% SMI" then yes. These are leftovers from Teamware, before we moved to Mercurial. Removal of these are part of our pre integration check (hg pbchk), they are

Re: [osol-code] Building with gcc

2009-12-01 Thread Neale Ferguson
No, it’s only the #ident it will issue a warning on. It’s just that for some of the build the “treat warning as an error” flag is set so it bombs out. gcc is happy with #pragma ident(). We added support to the 4.2.3 level to act as a no-op. I should actually check again if there’s a –W flag that

Re: [osol-code] Building with gcc

2009-12-01 Thread James Carlson
Rafael Vanoni wrote: > If the ident's you're referring to are of the form > > #pragma ident"%Z%%M%%I%%E% SMI" > > then yes. These are leftovers from Teamware, before we moved to > Mercurial. Removal of these are part of our pre integration check (hg > pbchk), they are being delete

Re: [osol-code] Building with gcc

2009-12-01 Thread Rafael Vanoni
Neale Ferguson wrote: I've been using gcc 4.2.3 to build OpenSolaris for my System z port for a coupe of years and was looking to move to 4.4. Using 4.4 to build ONNV fails because the formerly deprecated #ident and #machine statements are now unsupported and will generate warnings/errors. The #m

[osol-code] Building with gcc

2009-12-01 Thread Neale Ferguson
I've been using gcc 4.2.3 to build OpenSolaris for my System z port for a coupe of years and was looking to move to 4.4. Using 4.4 to build ONNV fails because the formerly deprecated #ident and #machine statements are now unsupported and will generate warnings/errors. The #machine statement is u