On 07/02/2011 04:21 AM, Austin Lund wrote:
On 1 July 2011 06:10, wylda@volny.cz wrote:
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -o adsiid.o adsiid.c
In file included from bug_test.c:8:
../include/winternl.h:2361: error: expected declaration specifiers or ‘...’ before ‘va_list’
Try adding "#include <stdarg.h>" before the windows headers.
That is the correct answer, it's just the 64bit version of gcc (due to a feature or configuration path) works without it.