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]

Bug report


When I use 'make' I got the following output:
g++ -DSOLARIS -o readwrite ../ThreadClass.o ReadWrite.cpp -I../ -g
In file included from ReadWrite.cpp:7:
../ThreadClass.h:703: Internal compiler error 892.
../ThreadClass.h:703: Please submit a full bug report to
`egcs-bugs@cygnus.com'.
*** Error code 1
make: Fatal error: Command failed for target `readwrite'

After I check the program I find I forgot to include file <shm.h>
and use the following function definition:
template<class T>
int ShareMem<T>::GetState(struct shmid_ds *buf) {
	...
}
Then the error message happens. Perhaps it's the bug.

Long




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