This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AIX atomicity.h support


>>>>> Benjamin Kosnik writes:

Ben> if you do

Ben> make string-inst.o

Ben> then you can see if the atomicity.h header is being used correctly.

	Again, the file eventually is including _G_config.h which dominoes
into numerous errors.  Maybe the following will give you a better idea of
the problem I am facing.

David

/u/dje/mal-ach/gcc-3.0/gcc/g++ -B/u/dje/mal-ach/gcc-3.0/gcc/ -nostdinc++  -L/u/dje/mal-ach/gcc-3.0/powerpc-ibm-aix4.3.2.0/libstd++-v3/src -L/u/dje/mal-ach/gcc-3.0/powerpc-ibm-aix4.3.2.0/libstd++-v3/src/.libs -B/usr/local/powerpc-ibm-aix4.3.2.0/bin/ -B/usr/local/powerpc-ibm-aix4.3.2.0/lib/ -isystem /usr/local/powerpc-ibm-aix4.3.2.0/include -DHAVE_CONFIG_H -I. -I/u/dje/src/GNU/gcc/libstdc++-v3/src -I.. -D_GNU_SOURCE -nostdinc++  -I/u/dje/src/GNU/gcc/libstdc++-v3 	 -I../libio -I/u/dje/src/GNU/gcc/libstdc++-v3/libio  -I/u/dje/src/GNU/gcc/libstdc++-v3/ 	-I/u/dje/src/GNU/gcc/libstdc++-v3/config/aix -I/usr/local/include	   	     -g -O2 -fno-implicit-templates  	-Wall -Wno-format -W -Wwrite-strings -Winline 	 -fdiagnostics-show-location=once   	-ffunction-sections -fdata-sections -g    -c /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc
cc1plus: warning: -ffunction-sections disabled on AIX when debugging
cc1plus: warning: -fdata-sections not supported on AIX
/u/dje/src/GNU/gcc/libstdc++-v3/libio/_G_config.h:45: syntax error before ';' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/_G_config.h:50: syntax error before ';' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:287: syntax error before ';' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:297: syntax error before '*' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:306: syntax error before ';' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:345: syntax error before '(' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:353: syntax error before '(' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:362: type specifier omitted for 
   parameter
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:362: parse error before '*' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:370: syntax error before ';' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:371: syntax error before ';' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:378: syntax error before '*' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:379: syntax error before '*' 
   token
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:397: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:397: ISO C++ forbids declaration 
   of `__THROW' with no type
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:398: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:398: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:398: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:397: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:399: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:399: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:399: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:398: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:400: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:400: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:400: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:399: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:401: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:401: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:401: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:400: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:402: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:402: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:402: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:401: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:427: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:427: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:427: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:402: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:428: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:428: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:428: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:427: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:429: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:429: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:429: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:428: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:430: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:430: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:430: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:429: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:432: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:432: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:432: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:430: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:438: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:438: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:438: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:432: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:439: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:439: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:439: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:438: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:440: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:440: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:440: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:439: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:454: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:454: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:454: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:440: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:456: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:456: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:456: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:454: `int __THROW' previously 
   declared here
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:457: syntax error before '(' 
   token
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:458: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:458: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:458: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:456: `int __THROW' previously 
   declared here
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:460: syntax error before '(' 
   token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:461: syntax error before '(' 
   token
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:463: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:463: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:463: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:458: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:466: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:466: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:466: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:463: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:467: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:467: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:467: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:466: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:468: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:468: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:468: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:467: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:487: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:487: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:487: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:468: `int __THROW' previously 
   declared here
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:489: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:489: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:489: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:487: `int __THROW' previously 
   declared here
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:490: syntax error before '(' 
   token
In file included from ../bits/c++io.h:35,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:40,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:491: parse error before ';' token
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:491: ISO C++ forbids declaration 
   of `__THROW' with no type
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:491: redefinition of `int 
   __THROW'
/u/dje/src/GNU/gcc/libstdc++-v3/libio/libio.h:489: `int __THROW' previously 
   declared here
../bits/c++io.h:40: syntax error before ';' token
../bits/c++io.h:41: syntax error before ';' token
../bits/c++io.h:44: syntax error before ';' token
../bits/c++io.h:46: syntax error before ';' token
../bits/c++io.h:53: syntax error before ';' token
../bits/c++io.h:67: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_boolalpha' in local class cannot be static
../bits/c++io.h:68: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_dec' in local class cannot be static
../bits/c++io.h:69: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_fixed' in local class cannot be static
../bits/c++io.h:70: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_hex' in local class cannot be static
../bits/c++io.h:71: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_internal' in local class cannot be static
../bits/c++io.h:72: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_left' in local class cannot be static
../bits/c++io.h:73: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_oct' in local class cannot be static
../bits/c++io.h:74: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_right' in local class cannot be static
../bits/c++io.h:75: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_scientific' in local class cannot be static
../bits/c++io.h:76: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_showbase' in local class cannot be static
../bits/c++io.h:77: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_showpoint' in local class cannot be static
../bits/c++io.h:78: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_showpos' in local class cannot be static
../bits/c++io.h:79: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_skipws' in local class cannot be static
../bits/c++io.h:80: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_unitbuf' in local class cannot be static
../bits/c++io.h:81: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_uppercase' in local class cannot be static
../bits/c++io.h:84: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_adjustfield' in local class cannot be static
../bits/c++io.h:85: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_basefield' in local class cannot be static
../bits/c++io.h:86: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_floatfield' in local class cannot be static
../bits/c++io.h:89: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_badbit' in local class cannot be static
../bits/c++io.h:90: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_eofbit' in local class cannot be static
../bits/c++io.h:91: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_failbit' in local class cannot be static
../bits/c++io.h:94: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_app' in local class cannot be static
../bits/c++io.h:95: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_ate' in local class cannot be static
../bits/c++io.h:96: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_bin' in local class cannot be static
../bits/c++io.h:97: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_in' in local class cannot be static
../bits/c++io.h:98: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_out' in local class cannot be static
../bits/c++io.h:99: field `_IO_free_wbackup_area (_IO_FILE 
   *)::__ios_flags::_S_trunc' in local class cannot be static
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:65: parse error before "streamoff"
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:66: missing ';' before right brace
In file included from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:63: class `_IO_free_wbackup_area 
   (_IO_FILE *)::fpos<_StateT>' does not have any field named `_M_st'
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:63: class `_IO_free_wbackup_area 
   (_IO_FILE *)::fpos<_StateT>' does not have any field named `_M_pos'
In file included from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:68: parse error before ')' token
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:69: ISO C++ forbids defining types 
   within return type
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:69: semicolon missing after 
   declaration of `class _IO_free_wbackup_area (_IO_FILE *)::fpos<_StateT>'
In file included from /u/dje/src/GNU/gcc/libstdc++-v3/bits/char_traits.h:39,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/stl_string_fwd.h:19,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/bits/std_string.h:38,
                 from /u/dje/src/GNU/gcc/libstdc++-v3/src/string-inst.cc:37:
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:69: base initializers not allowed 
   for non-member functions
/u/dje/src/GNU/gcc/libstdc++-v3/bits/fpos.h:71: Internal compiler error in 
   pop_binding, at cp/decl.c:1189
   Please submit a full bug report.
   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [string-inst.o] Error 1

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]