Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-974

[EDG eccp/Linux] errors with optimization on long long in <pthreadtypes.h>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2.1
    • 4.2.2
    • Test Driver
    • 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

          Activity

            People

              elemings Eric Lemings
              farid Farid Zaripov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified