This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GNU gcc 3.4.6 Compile Error on Solaris 10
- From: Ian Lance Taylor <iant at google dot com>
- To: "Bruce Butler" <BButler at ABFloyd dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: 06 Jun 2007 10:02:09 -0700
- Subject: Re: GNU gcc 3.4.6 Compile Error on Solaris 10
- References: <47579AF2139B5F428A8B5BCAA8872C7C587BAD@exchq1.induscorp.com>
"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