Another place where Intel C++ pretending to be gcc is a really
authorSteve Peters <steve@fisharerojo.org>
Tue, 2 May 2006 18:03:57 +0000 (18:03 +0000)
committerSteve Peters <steve@fisharerojo.org>
Tue, 2 May 2006 18:03:57 +0000 (18:03 +0000)
bad thing.

p4raw-id: //depot/perl@28067

gv.h

diff --git a/gv.h b/gv.h
index 25961efd87c4f867a31e5b8561c50734bbbf7251..6ef8ee61676626b0b860e3606b08d7f42daaabad 100644 (file)
--- a/gv.h
+++ b/gv.h
@@ -25,7 +25,7 @@ struct gp {
 #define GvXPVGV(gv)    ((XPVGV*)SvANY(gv))
 
 
-#if defined (DEBUGGING) && defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
+#if defined (DEBUGGING) && defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) && !defined(__INTEL_COMPILER)
 #  define GvGP(gv)                                                     \
        (*({GV *const shplep = (GV *) (gv);                             \
            assert(SvTYPE(shplep) == SVt_PVGV || SvTYPE(shplep) == SVt_PVLV); \