This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNU gcc 3.4.6 Compile Error on Solaris 10


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]