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] | |
This code compiles without even warnings under 3.0.4 and under Compaq cxx, so I'm pretty sure it's OK. Linux alpha1 2.4.9-31 #1 Tue Feb 26 06:07:30 EST 2002 alpha unknown /usr/local/bin/g++ -c -g -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 -I. -I.. -o test6.o testsuite/test6.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. -I.. -MMD test6.d -MQ test6.o -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 testsuite/test6.cc -Wall -W -Wold-style-cast -Wsign-promo -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -Wwrite-strings -Winline -Woverloaded-virtual -pedantic test6.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 test6.ii -trigraphs -$ -quiet -dumpbase test6.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 test6.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. testsuite/test6.cc: In function `int main()': testsuite/test6.cc:57: parse error before `&' token testsuite/test6.cc:61: no match for `PatternMaster::ReferencePattern& = const PatternMaster::Pattern (&)(...)' operator ReferencePattern.h:76: candidates are: PatternMaster::ReferencePattern& PatternMaster::ReferencePattern::operator=(const PatternMaster::AbstractPattern&) ReferencePattern.h:78: PatternMaster::ReferencePattern& PatternMaster::ReferencePattern::operator=(const PatternMaster::AbstractValue&) ReferencePattern.h:80: PatternMaster::ReferencePattern& PatternMaster::ReferencePattern::operator=(const PatternMaster::StringScalarVariable&) ReferencePattern.h:82: PatternMaster::ReferencePattern& PatternMaster::ReferencePattern::operator=(const PatternMaster::StringVectorVariable&) ReferencePattern.h:84: PatternMaster::ReferencePattern& PatternMaster::ReferencePattern::operator=(const PatternMaster::BooleanScalarVariable&) ReferencePattern.h:45: PatternMaster::ReferencePattern& PatternMaster::ReferencePattern::operator=(const PatternMaster::ReferencePattern&) testsuite/test6.cc:63: warning: the address of `const PatternMaster::Pattern psbal(...)', will always be `true'
Attachment:
debug6.tar.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] |