va_list undefined
Stephen Rasku
stephen@tgivan.com
Fri Jun 1 11:04:00 GMT 2001
I wrote:
>
>I have tried compiling a C++ file with both gcc 2.95.2 and gcc 2.95.3.
>I get the following errors:
>
>/tgi/data/stephen/enroute/common/msg/src/msg_defs.h:467: type specifier omitted for
>parameter
>/tgi/data/stephen/enroute/common/msg/src/msg_defs.h:663: type specifier omitted for
>parameter
>/tgi/data/stephen/enroute/common/msg/src/msg_defs.h:663: parse error before `)'
>/tgi/data/stephen/enroute/common/msg/src/msg_defs.h:1128: type specifier omitted for
>parameter
>/tgi/data/stephen/enroute/common/msg/src/msg_defs.h:1128: parse error before `,'
>
I forgot to include the header inclusion list. Here it is:
In file included from /tgi/data/stephen/enroute/servers/gk/src/cmsg_defs.h:37,
from /tgi/data/stephen/enroute/servers/gk/msg/src/MSG_connection.h:31,
from /tgi/data/stephen/enroute/servers/gk/msg/src/MSG_gkSvrConn.h:26,
from GKP_cliChannel.h:35,
from GKP_cliChannel.cpp:34:
What's interesting is that if I #include <stdarg.h> in GKP_cliChannel.cpp or
GKP_cliChannel.h, then it will work. If I include the header file any deeper than that
it won't. Curious...
--
Stephen Rasku E-mail: stephen@tgivan.com
Senior Software Engineer Web: http://www.pop-star.net/
TGI Technologies
More information about the Gcc-help
mailing list