# New Ticket Created by Steve Peters # Please include the string: [perl #41173] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41173 >
The Intel C++ compile defines the __GNUC__ macro. This generally causes lots of annoying problems since Intel C++ is not completely compatible with gcc. To avoid this any problem with this, the following patch should help both Linux and Mac OS X Intel compilers. Steve Peters [EMAIL PROTECTED] --- config/auto/gcc/test_c.in.old 2007-01-03 22:28:24.000000000 -0600 +++ config/auto/gcc/test_c.in 2007-01-03 22:29:11.000000000 -0600 @@ -8,7 +8,7 @@ main(int argc, char **argv) { puts("("); -#ifdef __GNUC__ +#if defined(__GNUC__) && ! defined(__INTEL_COMPILER) printf("__GNUC__ => %d,\n", __GNUC__); # ifdef __GNUC_MINOR__ printf("__GNUC_MINOR__ =>%d,\n", __GNUC_MINOR__);