errors in termcap.h

Mike Stump mrs@windriver.com
Wed Mar 29 08:07:00 GMT 2000


> Date: Wed, 29 Mar 2000 10:35:31 +0300
> From: Alexey Alexapolsky <alex@res2.sf.energy.gov.ua>

>       Can't compile a 2-line c-file.It's here
>       #include <termcap.h>
>       main() {return 1;}
>       Gcc finds errors in termcap.h :
>       /usr/include/termcap.h:37 invalid exception specifications
>       Is there a gcc version without this bug?

Sure, I believe you can use the C compiler, instead of the C++
compiler.  Aside from this, you will have to report bugs in termcap.h
to the providers of termcap.h, as we didn't provide that file.  If you
want us to fixincludes the file, you will have to give us more detail
(g++ -E/gcc -E, and the whole file termcap.h and what system your on)
for us to consider it.  If you're on Linux, we will be less inclined
to fix it and just prefer that you upgrade to a newer termcap library
that doesn't have this bug, and if you're on a legacy OS, we will
probably be willing to have it fixincluded.

Hope that helps.


More information about the Gcc-bugs mailing list