This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 3.1, Linux Alpha: Compile problems, basic_file.h


This code compiles under 3.0.4:


Linux alpha1 2.4.9-31 #1 Tue Feb 26 06:07:30 EST 2002 alpha unknown

/usr/local/bin/g++ -c -g -I.. -v -save-temps   -pedantic -ansi -fno-common 
-fstrict-aliasing -MMD -Wall -W -Wold-style-cast -Wsign-promo -Wpointer-arith 
-Wcast-qual -Wconversion -Wmissing-prototypes -Wwrite-strings -Winline 
-Woverloaded-virtual      -fimplicit-templates html.cc


Reading specs from 
/usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure --enable-languages=c++
Thread model: single
gcc version 3.1
 /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/cpp0 -lang-c++ 
-D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 
-D__STRICT_ANSI__ -trigraphs -$ -v -I.. -MMD html.d -D__GNUC__=3 
-D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__gnu_linux__ -D__linux__ 
-D__unix__ -D_LONGLONG -D__alpha__ -D__ELF__ -D__linux -D__unix 
-Asystem=linux -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=alpha 
-Amachine=alpha -D__alpha -D__alpha__ -D__alpha_ev5__ -Acpu=ev5 
-D__alpha_bwx__ -Acpu=bwx html.cc -Wall -W -Wold-style-cast -Wsign-promo 
-Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -Wwrite-strings 
-Winline -Woverloaded-virtual -pedantic html.ii
GNU CPP version 3.1 (cpplib) (Alpha GNU/Linux for ELF)
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory 
"/usr/local/alphaev56-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 ..
 /usr/local/include/g++-v3
 /usr/local/include/g++-v3/alphaev56-unknown-linux-gnu
 /usr/local/include/g++-v3/backward
 /usr/local/include
 /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/cc1plus 
-fpreprocessed html.ii -trigraphs -$ -quiet -dumpbase html.cc -ansi -g -Wall 
-W -Wold-style-cast -Wsign-promo -Wpointer-arith -Wcast-qual -Wconversion 
-Wmissing-prototypes -Wwrite-strings -Winline -Woverloaded-virtual -pedantic 
-ansi -version -fno-common -fstrict-aliasing -fimplicit-templates -o html.s
GNU CPP version 3.1 (cpplib) (Alpha GNU/Linux for ELF)
GNU C++ version 3.1 (alphaev56-unknown-linux-gnu)
	compiled by GNU C version 3.1.
In file included from /usr/local/include/g++-v3/fstream:48,
                 from html.cc:3:
/usr/local/include/g++-v3/bits/basic_file.h:52: parse error before `{' token
/usr/local/include/g++-v3/bits/basic_file.h:57: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:57: function `int 
std::overflow(int 
   = -1)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:60: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:60: function `int 
std::underflow()' 
   is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:63: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:63: function `int std::uflow()' 
is 
   initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:66: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:66: function `int 
   std::pbackfail(int)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:69: parse error before `*' token
/usr/local/include/g++-v3/bits/basic_file.h:69: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:69: function `streamsize 
   std::xsputn(...)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:72: `_CharT' was not declared in 
   this scope
/usr/local/include/g++-v3/bits/basic_file.h:72: `__s' was not declared in 
this 
   scope
/usr/local/include/g++-v3/bits/basic_file.h:72: parse error before `)' token
/usr/local/include/g++-v3/bits/basic_file.h:72: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:72: function `streamsize 
   std::xsgetn(...)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:76: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:76: function `streamoff 
   std::seekoff(long int, std::_Ios_Seekdir, std::_Ios_Openmode = 
   std::operator|(std::_Ios_Openmode, 
   std::_Ios_Openmode)((std::_Ios_Openmode)8, (std::_Ios_Openmode)16))' is 
   initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:80: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:80: function `streamoff 
   std::seekpos(long int, std::_Ios_Openmode = 
   std::operator|(std::_Ios_Openmode, 
   std::_Ios_Openmode)((std::_Ios_Openmode)8, (std::_Ios_Openmode)16))' is 
   initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:83: `_CharT' was not declared in 
   this scope
/usr/local/include/g++-v3/bits/basic_file.h:83: `__b' was not declared in 
this 
   scope
/usr/local/include/g++-v3/bits/basic_file.h:83: parse error before `)' token
/usr/local/include/g++-v3/bits/basic_file.h:83: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:83: function `std::streambuf* 
   std::setbuf(...)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:86: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:86: function `int std::sync()' is 
   initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:89: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:89: function `int 
std::doallocate()
   ' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:92: `_CharT' was not declared in 
   this scope
/usr/local/include/g++-v3/bits/basic_file.h:92: `__s' was not declared in 
this 
   scope
/usr/local/include/g++-v3/bits/basic_file.h:92: parse error before `)' token
/usr/local/include/g++-v3/bits/basic_file.h:92: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:92: function `streamsize 
   std::sys_read(...)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:95: parse error before `*' token
/usr/local/include/g++-v3/bits/basic_file.h:95: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:95: function `streamsize 
   std::sys_write(...)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:98: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:98: function `streamoff 
   std::sys_seek(long int, std::_Ios_Seekdir)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:101: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:101: function `int 
std::sys_close()
   ' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:104: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:104: function `int 
   std::sys_stat(void*)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:107: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:107: function `int 
std::showmanyc()
   ' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:110: virtual outside class 
   declaration
/usr/local/include/g++-v3/bits/basic_file.h:110: function `void 
   std::imbue(void*)' is initialized like a variable
/usr/local/include/g++-v3/bits/basic_file.h:128: '__c_wfile_type' is used as 
a 
   type, but is not defined as a type.
/usr/local/include/g++-v3/bits/basic_file.h:133: parse error before `*' token
/usr/local/include/g++-v3/bits/basic_file.h:136: parse error before `::' token
/usr/local/include/g++-v3/bits/basic_file.h:141: type specifier omitted for 
   parameter `ios_base'
/usr/local/include/g++-v3/bits/basic_file.h:141: parse error before `::' token
/usr/local/include/g++-v3/bits/basic_file.h:148: parse error before `::' token
/usr/local/include/g++-v3/bits/basic_file.h:185: `streamsize' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:185: parse error before `(' token
/usr/local/include/g++-v3/bits/basic_file.h:191: `streamsize' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:191: declaration of `int 
   __basic_file<_CharT>::streamsize'
/usr/local/include/g++-v3/bits/basic_file.h:185: conflicts with previous 
   declaration `int __basic_file<_CharT>::streamsize'
/usr/local/include/g++-v3/bits/basic_file.h:191: parse error before `(' token
/usr/local/include/g++-v3/bits/basic_file.h:197: `streamoff' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:197: parse error before `(' token
/usr/local/include/g++-v3/bits/basic_file.h:204: `streamoff' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:204: declaration of `int 
   __basic_file<_CharT>::streamoff'
/usr/local/include/g++-v3/bits/basic_file.h:197: conflicts with previous 
   declaration `int __basic_file<_CharT>::streamoff'
/usr/local/include/g++-v3/bits/basic_file.h:204: parse error before `(' token
/usr/local/include/g++-v3/bits/basic_file.h:207: `streambuf' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:207: parse error before `*' token
/usr/local/include/g++-v3/bits/basic_file.h:220: `streamsize' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:220: declaration of `int 
   __basic_file<_CharT>::streamsize'
/usr/local/include/g++-v3/bits/basic_file.h:185: conflicts with previous 
   declaration `int __basic_file<_CharT>::streamsize'
/usr/local/include/g++-v3/bits/basic_file.h:220: parse error before `(' token
/usr/local/include/g++-v3/bits/basic_file.h:226: `streamsize' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:226: declaration of `int 
   __basic_file<_CharT>::streamsize'
/usr/local/include/g++-v3/bits/basic_file.h:185: conflicts with previous 
   declaration `int __basic_file<_CharT>::streamsize'
/usr/local/include/g++-v3/bits/basic_file.h:226: parse error before `(' token
/usr/local/include/g++-v3/bits/basic_file.h:232: `streamoff' declared as a 
   `virtual' field
/usr/local/include/g++-v3/bits/basic_file.h:232: declaration of `int 
   __basic_file<_CharT>::streamoff'
/usr/local/include/g++-v3/bits/basic_file.h:197: conflicts with previous 
   declaration `int __basic_file<_CharT>::streamoff'
/usr/local/include/g++-v3/bits/basic_file.h:232: parse error before `(' token
/usr/local/include/g++-v3/bits/basic_file.h:246: parse error before `}' token
In file included from /usr/local/include/g++-v3/bits/basic_file.h:250,
                 from /usr/local/include/g++-v3/fstream:48,
                 from html.cc:3:
/usr/local/include/g++-v3/alphaev56-unknown-linux-gnu/bits/basic_file_model.h:38: 
parse
   error before `*' token
/usr/local/include/g++-v3/alphaev56-unknown-linux-gnu/bits/basic_file_model.h:38: 
confused by earlier errors, bailing out

Attachment: html.ii.bz2
Description: BZip2 compressed data


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