Re: CVS commit: src/sys/arch/x86/x86

Pavel Cahyna <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
On Wed, Dec 12, 2007 at 06:30:27PM -0500, Perry E. Metzger wrote:
> 
> Pavel Cahyna <[email protected]> writes:
> >> I've noticed that Luke is churning a bunch of the kernel with
> >> __KERNEL_RCSID changes, which are apparently not causing enough
> >> trouble to make any of the branch owners complain.
> >
> > The difference, AIUI, is that the rcsids are actually useful for
> > something.
> 
> Being able to other compilers on the tree is also useful for
> something. We've got lots of gccisms around that aren't serving any
> purpose -- the idea is to get rid of them so that any C99 compiler
> will work. __FUNCTION__ is one of several things I was going to get
> rid of. The next step (as requested by Christos) was to get rid of the
> unwrapped use of __attribute__ etc. -- you cut that out of my message,
> I'll note, as well as my mention of *why* this is wanted.

in the section 5.40 of the gcc manual you'll find an example code that
you can put e.g. in cdefs.h for compilers that don't support
__FUNCTION__.

Pavel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.