[torqueusers] Solaris build: replace.c use of <varargs.h>

Rick.Ingham at expeditors.com Rick.Ingham at expeditors.com
Mon Sep 12 10:28:13 MDT 2005


This is with the new patch 6 on Solaris 5.9.

In file included from replace.c:17:
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/include/varargs.h:4:2: #error
"GCC no longer implements <varargs.h>."
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/include/varargs.h:5:2: #error
"Revise your code to use <stdarg.h>."

The code is:

   #if defined(__STDC__) && (!defined(sun) || defined(__TSOLARIS5))  /*
   NOTE:  changeme */
   #include <stdarg.h>
   #else
   #include <varargs.h>
   #endif

In the past, I have inserted this line in front of this:

   #define __TSOLARIS5

However, it seems to me that the configure script should be able to figured
this out.

--- Rick Ingham, Expeditors Int'l / IS
---- RICK.INGHAM at EXPEDITORS.COM  (206) 674-3400 x3284   FAX  246-3197



More information about the torqueusers mailing list