hclausen@adspdk.UUCP (Henrik Clausen) (10/23/90)
   I've found a minor, though annoying, bug in Lattice 5.05.
   Using the compiler to automatically generate prototypes for all
functions in my program, a function with variable arguments gets an
incorrect prototype:
   My source:
int MySmartRequest(struct Window *Behind, int Strings, ...)
{
   va_list ap;
   .....
 
   Prototype generated by Lattice:
int MySmartRequest(struct Window *Behind,
                   int Strings);
   The VarArgs part of the declaration is eaten, and when I include the
prototype file, the compiler complains about an incorrect redeclaration.
Adding ", ..." to the prototype is naturally a usable workaround, but
inconvienient.
   Anyone knows or ready to test if this is fixed in 5.10? 
   Perhaps it's time to update.
                                        Have a nice day          -Henrik
|            Henrik Clausen, Graffiti Data (Fido: 2:230/22.33)           |
|           ...{pyramid|rutgers}!cbmvax!cbmehq!adspdk!hclausen           |
\__"Do not accept the heart that is the slave to reason" - Qawwali trad__/