NO

Author Topic: Ide & C version 5.00 beta, Windows 32-bit test.  (Read 3229 times)

vesa

  • Guest
Ide & C version 5.00 beta, Windows 32-bit test.
« 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

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Ide & C version 5.00 beta, Windows 32-bit test.
« Reply #1 on: February 14, 2008, 10:35:42 AM »
Use compiler option -Ze
Enable Microsoft extensions from projects compiler options.
May the source be with you

vesa

  • Guest
Re: Ide & C version 5.00 beta, Windows 32-bit test.
« Reply #2 on: February 14, 2008, 11:55:30 AM »
Thanks, it helped!
Vesa