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]

Solaris 2.5.1, gcc version 2.96 20000605; template failure


Reading specs from 
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/lib/gcc-lib/sparc-sun-solaris2
.5.1/2.96/specs
gcc version 2.96 20000605 (experimental)
 
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/lib/gcc-lib/sparc-sun-solaris2
.5.1/2.96/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 
-D__GNUC_PATCHLEVEL__=0 -D__cplusplus -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 
-D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix 
-Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -D__GCC_NEW_VARARGS__ -Acpu(sparc) 
-Amachine(sparc) PMInstantiate.cc PMInstantiate.ii
GNU CPP version 2.96 20000605 (experimental) (cpplib)

This code compiled under 2.95.2, and now has template problems involving string
and ostream. Full log is tarballed with the .ii file.
 
/afs/jpl.nasa.gov/home/m/mckelvey/public/Software/lib/gcc-lib/sparc-sun-solaris2
.5.1/2.96/cc1plus PMInstantiate.ii -quiet -dumpbase PMInstantiate.cc -version -o 
PMInstantiate.s
GNU C++ version 2.96 20000605 (experimental) (sparc-sun-solaris2.5.1) compiled 
by GNU C version 2.96 20000605 (experimental).
ComparePattern.hh: In method `void PatternMaster::ComparePattern<T,
title>::debug_print (const string &, ostream &, unsigned int, unsigned
int) const [with T = PatternMaster::compare_eq, const string &title =
(&PatternMaster::EQPATTERN)]':
PMInstantiate.cc:106:   instantiated from here
ComparePattern.hh:284: invalid operands of types `const
basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> > &' and `char' to binary `operator +'

bug.tar.bz2


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