#define UCHAR(c) ((unsigned char) (c))
typedef unsigned char UCHAR;
UCHAR __stdcall a(void);
int main(void) { return 0; }
/* The error message is:
*
* | Error testit.c: 4 Syntax error; missing semicolon before `a'
* | Warning testit.c: 4 no type specified. Defaulting to int
* | 1 error, 1 warning
*
* The same example compiles without problems with the
* Visual C++ compiler.
*
* Originally, the problem occured in line 14989 of
* ...\lcc\include\win.h, i.e. in the line:
*
* UCHAR APIENTRY Netbios(PNCB);
*
*
* Olaf
*/
Hi Olaf
Just try writing _stdcall instead of __stdcall.
I think I should support both _stdcall and __stdcall but...
haven't done it yet.
--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32