This is the mail archive of the gcc@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] |
Hi there, Building libg++ using recent gcc snapshots fails because gcc has become more standard conforming wrt/ access checking also for types: /home/gnu/work/GNU/egcs-20000312-i586-redhat6-linux-gnu/gcc/g++ -B/home/gnu/work/GNU/egcs-20000312-i586-redhat6-linux-gnu/gcc/ -B/opt/gnu/H-ia32-linux/i586-redhat6-linux-gnu/bin/ -c -O3 -march=pentium -fomit-frame-pointer -g -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -nostdinc++ -I. -I../../libio -I../../../../egcs-20000312/libg++/src -I../../../../egcs-20000312/libg++/src/../../libio -I../../../../egcs-20000312/libg++/src/../../libstdc++ -I../../../../egcs-20000312/libg++/src/../src ../../../../egcs-20000312/libg++/src/Fix.cc ../../../../egcs-20000312/libg++/src/Fix.cc: In function `Fix::Rep *_new_Fix ../../../../egcs-20000312/libg++/src/Fix.cc: (short unsigned int)': ../../../../egcs-20000312/libg++/src/Fix.h:20: `struct Fix::Rep' is private ../../../../egcs-20000312/libg++/src/Fix.cc:102: within this context ../../../../egcs-20000312/libg++/src/Fix.h:20: `struct Fix::Rep' is private ../../../../egcs-20000312/libg++/src/Fix.cc:105: within this context ../../../../egcs-20000312/libg++/src/Fix.h:20: `struct Fix::Rep' is private ../../../../egcs-20000312/libg++/src/Fix.cc:106: within this context ../../../../egcs-20000312/libg++/src/Fix.h:20: `struct Fix::Rep' is private ../../../../egcs-20000312/libg++/src/Fix.cc:106: within this context The attached patch fixes this; please note, I also uploaded this patch to our ftp server into the gcc/infrastructure directory. Cheers. l8er manfred -- Manfred Hollstein If you have any questions about GNU software: Hindenburgstr. 13/1 <mailto:manfred.h@gmx.net> 75446 Wiernsheim, FRG <http://www.m-hollstein.de/> PGP: <http://www.m-hollstein.de/manfred.asc>
libg++-2.8.1.3-20000312.diff.gz
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |