[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-tools-discuss
Subject:    Re: [tools-discuss] Some questions about gcc warning options...
From:       John Levon <john.levon () sun ! com>
Date:       2006-08-31 0:49:14
Message-ID: 20060831004914.GB28227 () barman ! uk ! sun ! com
[Download RAW message or body]

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" and portable
> 
> Unfortunately, these are defined by the i386 ABI supplement.  I agree
> that it's bad practice, but we're probably stuck with them.

However, they only need to visible given an explicit:

#include <sys/ucontext.h>

I have a half-done webrev that avoids defining them via the usual route they
turn up (sys/signal.h), after getting annoyed at having to "fix" #define ERR in
so many applications, but never got around to finishing it.

There's no good reason that we can't mostly solve this problem, other than lack
of time...

regards
john
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic