c-pragma.c:253: Internal compiler error in functionhandle_pragma_token
Tomi Petteri Pakarinen
patope@cc.jyu.fi
Mon Nov 23 04:02:00 GMT 1998
[ file p.cc is part of glib.h (1.1.3) ]
Robotti:~% cat p.cc
/* the #pragma } statment is used to fix up emacs' c-mode which gets
* confused by extern "C" {. the ansi standard says that compilers
* have to ignore #pragma directives that they don't know about,
* so we should be save in using this.
*/
#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */
Robotti:~% g++ -c p.cc
c-pragma.c:253: Internal compiler error in function handle_pragma_token
Robotti:~% g++ -v
Reading specs from
/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.23/specs
gcc version egcs-2.92.23 19981122 (gcc2 ss-980609 experimental)
Robotti:~%
More information about the Gcc-bugs
mailing list