Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.2.1
-
None
-
EDG eccp 3.9 on SUSE Linux Enterprise Server 10 (x86_64)
-
Compiler Error
Description
The rwtest library fails to compile with the EDG eccp demo on Linux.
From nightly build logs:
eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/tests/src/lockfile.cpp "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __total_seq; ^ "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __wakeup_seq; ^ "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __woken_seq; ^ "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long long" is nonstandard __extension__ long long int __align; ^ 4 errors detected in the compilation of "$(TOPDIR)/tests/src/lockfile.cpp". gmake: *** [lockfile.o] Error 2 eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/tests/src/qestream.cpp "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __total_seq; ^ "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __wakeup_seq; ^ "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __woken_seq; ^ "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long long" is nonstandard __extension__ long long int __align; ^ 4 errors detected in the compilation of "$(TOPDIR)/tests/src/qestream.cpp". gmake: *** [qestream.o] Error 2 eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/tests/src/rwmstats.cpp "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __total_seq; ^ "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __wakeup_seq; ^ "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __woken_seq; ^ "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long long" is nonstandard __extension__ long long int __align; ^ 4 errors detected in the compilation of "$(TOPDIR)/tests/src/rwmstats.cpp". gmake: *** [rwmstats.o] Error 2 eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/tests/src/rwqethread.cpp "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __total_seq; ^ "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __wakeup_seq; ^ "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __woken_seq; ^ "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long long" is nonstandard __extension__ long long int __align; ^ 4 errors detected in the compilation of "$(TOPDIR)/tests/src/rwqethread.cpp". gmake: *** [rwqethread.o] Error 2 eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/tests/src/rwtest.cpp "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __total_seq; ^ "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __wakeup_seq; ^ "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __woken_seq; ^ "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long long" is nonstandard __extension__ long long int __align; ^ 4 errors detected in the compilation of "$(TOPDIR)/tests/src/rwtest.cpp". gmake: *** [rwtest.o] Error 2 eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/tests/src/singleton.cpp "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __total_seq; ^ "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __wakeup_seq; ^ "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __woken_seq; ^ "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long long" is nonstandard __extension__ long long int __align; ^ 4 errors detected in the compilation of "$(TOPDIR)/tests/src/singleton.cpp". gmake: *** [singleton.o] Error 2 eccp -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 $(TOPDIR)/tests/src/thread.cpp "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __total_seq; ^ "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __wakeup_seq; ^ "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long long" is nonstandard __extension__ unsigned long long int __woken_seq; ^ "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long long" is nonstandard __extension__ long long int __align; ^ 4 errors detected in the compilation of "$(TOPDIR)/tests/src/thread.cpp". gmake: *** [thread.o] Error 2
Attachments
Issue Links
- is related to
-
STDCXX-595 [EDG eccp/Linux] error with optimization on long long in <pthreadtypes.h>
- Closed