[gcc r11-6396] Fix testsuite/g++.dg/opt/20050511-1.C compilation error on VxWorks 7
Alexandre Oliva
aoliva@gcc.gnu.org
Fri Jan 1 05:08:17 GMT 2021
https://gcc.gnu.org/g:0bcaee87e8da563854cd3add4a70c26ac2d1aff6
commit r11-6396-g0bcaee87e8da563854cd3add4a70c26ac2d1aff6
Author: Jerome Lambourg <lambourg@adacore.com>
Date: Thu Dec 31 21:37:59 2020 -0300
Fix testsuite/g++.dg/opt/20050511-1.C compilation error on VxWorks 7
In VxWorks 7, UINT32 is defined in both modes, kernel and rtp. Adjust
the work around accordingly.
for gcc/testsuite/ChangeLog
* g++.dg/opt/20050511-1.C: Work around UINT32 in vxworks rtp
headers too.
Diff:
---
gcc/testsuite/g++.dg/opt/20050511-1.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.dg/opt/20050511-1.C b/gcc/testsuite/g++.dg/opt/20050511-1.C
index a840fb0db8e..7041a482001 100644
--- a/gcc/testsuite/g++.dg/opt/20050511-1.C
+++ b/gcc/testsuite/g++.dg/opt/20050511-1.C
@@ -5,7 +5,7 @@
#include <stdlib.h>
// The VxWorks kernel headers define their own UINT32
-#if defined __vxworks && !defined __RTP__
+#if defined __vxworks
#define UINT32 my_UINT32
#endif
More information about the Gcc-cvs
mailing list