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

                 Key: STDCXX-974
                 URL: https://issues.apache.org/jira/browse/STDCXX-974
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Test Driver
    Affects Versions: 4.2.1
         Environment: EDG eccp 3.9 on SUSE Linux Enterprise Server 10 (x86_64)
            Reporter: Farid Zaripov
             Fix For: 4.2.2


The rwtest library fails to compile with the EDG eccp demo on Linux. 

>From nightly build logs:

{noformat}
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
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to