GNU gcc 3.4.6 Compile Error on Solaris 10

Ian Lance Taylor iant@google.com
Wed Jun 6 17:03:00 GMT 2007


"Bruce Butler" <BButler@ABFloyd.com> writes:

> void do_remarks_process( id, sec_str, va_alist )
>  int id;
>  char *sec_str;
>  char *va_alist;

Old style varargs are no longer supported.  In order to use newer
versions of gcc you need to use ISO C style stdarg.  That is,
    void do_remarks_process (int id, char *sec_str, ...)

Ian



More information about the Gcc-help mailing list