Pelles C forum

C language => Beginner questions => Topic started by: vesa on February 14, 2008, 10:26:33 AM

Title: Ide & C version 5.00 beta, Windows 32-bit test.
Post by: vesa on February 14, 2008, 10:26:33 AM
Hi!
I installed version 5.0.  It is the first Pelles C I deal with.
When I #include "windows.h" I get errors:
C:\Program Files\PellesC\Include\Win\basetsd.h(17): error #2001: Syntax error: expected ';' but found 'INT64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(17): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): error #2001: Syntax error: expected ';' but found 'UINT64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): error #2001: Syntax error: expected ';' but found 'ULONG64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): warning #2099: Missing type specifier.
The compiler accepts "long long" in places of "__int64".
-Vesa
Title: Re: Ide & C version 5.00 beta, Windows 32-bit test.
Post by: TimoVJL on February 14, 2008, 10:35:42 AM
Use compiler option -Ze
Enable Microsoft extensions from projects compiler options.
Title: Re: Ide & C version 5.00 beta, Windows 32-bit test.
Post by: vesa on February 14, 2008, 11:55:30 AM
Thanks, it helped!
Vesa