This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug report
- To: egcs-bugs at cygnus dot com
- Subject: Bug report
- From: Xianglong Huang <xlhuang at mtu dot edu>
- Date: Mon, 15 Feb 1999 22:56:14 -0500 (EST)
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