Hi Derek,

We have the same behavior with gcc 2.95.3 on NetBSD 1.6.1 platform.

Conrad

/usr/home/conrad:$ cat test00.c; uname -a; gcc -v; gcc -o test00 test00.c; 
./test00
#include <stdio.h>

#ifdef __PRAGMA_REDEFINE_EXTNAME
#define p0value "defined"
#else
#define p0value "undefined"
#endif

#ifdef _PRAGMA_REDEFINE_EXTNAME
#define p1value "defined"
#else
#define p1value "undefined"
#endif

#ifdef PRAGMA_REDEFINE_EXTNAME
#define p2value "defined"
#else
#define p2value "undefined"
#endif

int main( int argc, char *argv[ ] )
{
        printf( "__PRAGMA_REDEFINE_EXTNAME is %s\n", p0value );
        printf( "_PRAGMA_REDEFINE_EXTNAME is %s\n", p1value );
        printf( "PRAGMA_REDEFINE_EXTNAME is %s\n", p2value );

        return 0;
}
NetBSD heron.skyline.pino.net 1.6.1 NetBSD 1.6.1 (PinoFICdev) #0: Fri May 13 
02:26:01 PDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/PinoFICdev i386
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)
__PRAGMA_REDEFINE_EXTNAME is undefined
_PRAGMA_REDEFINE_EXTNAME is undefined
PRAGMA_REDEFINE_EXTNAME is undefined
/usr/home/conrad:$



_______________________________________________
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs

Reply via email to