Re: [tools-discuss] Some questions about gcc warning options...

2006-09-07 Thread Roland Mainz
John Levon wrote: > On Tue, Sep 05, 2006 at 03:34:08AM +0200, Roland Mainz wrote: > > > > > http://cvs.opensolaris.org/source/xref/on/usr/src/uts/intel/sys/regset.h#100 > > > > > is broken. The two-letter defines there causes lots of breakage and > > > > > IMO > > > > > a violation of things which

Re: [tools-discuss] Some questions about gcc warning options...

2006-09-04 Thread John Levon
On Tue, Sep 05, 2006 at 03:34:08AM +0200, Roland Mainz wrote: > > > > http://cvs.opensolaris.org/source/xref/on/usr/src/uts/intel/sys/regset.h#100 > > > > is broken. The two-letter defines there causes lots of breakage and IMO > > > > a violation of things which I would call "namespace clean" and

Re: [tools-discuss] Some questions about gcc warning options...

2006-09-04 Thread Roland Mainz
John Levon wrote: > On Wed, Aug 30, 2006 at 04:56:15PM -0700, Jonathan Adams wrote: > > > Well, then > > > http://cvs.opensolaris.org/source/xref/on/usr/src/uts/intel/sys/regset.h#100 > > > is broken. The two-letter defines there causes lots of breakage and IMO > > > a violation of things which I w

Re: Pointer<--->Integer conversion macros / was: Re: [tools-discuss] Some questions about gcc warning options...

2006-08-31 Thread Keith M Wesolowski
On Thu, Aug 31, 2006 at 02:29:04AM +0200, Roland Mainz wrote: > BTW: Would it be possible to get the following two macros (and derivates > for |unsigned long|) into OS/Net ? IMO they should provide a quite clean > way to do such conversions and would provide an easy way to search for > such stuff:

Re: [tools-discuss] Some questions about gcc warning options...

2006-08-30 Thread John Levon
On Wed, Aug 30, 2006 at 04:56:15PM -0700, Jonathan Adams wrote: > > Well, then > > http://cvs.opensolaris.org/source/xref/on/usr/src/uts/intel/sys/regset.h#100 > > is broken. The two-letter defines there causes lots of breakage and IMO > > a violation of things which I would call "namespace clean"

Pointer<--->Integer conversion macros / was: Re: [tools-discuss] Some questions about gcc warning options...

2006-08-30 Thread Roland Mainz
Keith M Wesolowski wrote: [snip] > > 2. What is the gcc flag to turn warnings for "cast to pointer from > > integer of different size" off ? > > Example: > > -- snip -- > > common/gridalloc/vmdebug.c > > ../common/gridalloc/griddebug.c: In function `dbwarn': > > ../common/gridalloc/griddebug.c:162:

Re: [tools-discuss] Some questions about gcc warning options...

2006-08-30 Thread Roland Mainz
Jonathan Adams wrote: [snip] > > Well, then > > http://cvs.opensolaris.org/source/xref/on/usr/src/uts/intel/sys/regset.h#100 > > is broken. The two-letter defines there causes lots of breakage and IMO > > a violation of things which I would call "namespace clean" and portable > > code (e.g. the boo

Re: [tools-discuss] Some questions about gcc warning options...

2006-08-30 Thread Jonathan Adams
On Thu, Aug 31, 2006 at 01:52:44AM +0200, Roland Mainz wrote: > Keith M Wesolowski wrote: > > On Thu, Aug 31, 2006 at 12:22:16AM +0200, Roland Mainz wrote: > > > 1. Does anyone know the gcc switch to turn off warnings for redefined > > > CPP symbols, e.g. things like: > > > -- snip -- > > > src/lib

Re: [tools-discuss] Some questions about gcc warning options...

2006-08-30 Thread Roland Mainz
Keith M Wesolowski wrote: > On Thu, Aug 31, 2006 at 12:22:16AM +0200, Roland Mainz wrote: > > 1. Does anyone know the gcc switch to turn off warnings for redefined > > CPP symbols, e.g. things like: > > -- snip -- > > src/lib/libmonster/monster_map.h:104:1: "strrcat" redefined > > ../common/core/st

Re: [tools-discuss] Some questions about gcc warning options...

2006-08-30 Thread Keith M Wesolowski
On Thu, Aug 31, 2006 at 12:22:16AM +0200, Roland Mainz wrote: > 1. Does anyone know the gcc switch to turn off warnings for redefined > CPP symbols, e.g. things like: > -- snip -- > src/lib/libmonster/monster_map.h:104:1: "strrcat" redefined > ../common/core/strrcat.c:27:1: this is the location of