Joerg Schilling writes: > Hi, > > I just discovered sys/ccompile.h and it's content... > > It seems to support GCCs __attribute__ feature in case > that __GNUC__ is defined, but it also checks for > __ATTRIBUTE_IMPLEMENTED and then uses __sun_attr__(). > > Is there a Sun C-Compiler that supports this?
I think you might be misreading the code. __sun_attr__ is just a macro in that file that expands to nothing when using a Sun C compiler, or to the right __attribute__ thing by way of token pasting if you're using gcc. It's an internal implementation detail of that header file. Source code in ON should be using __NORETURN, __PURE, and so on. -- James Carlson, KISS Network <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-discuss mailing list [email protected]
