|
From: SourceForge.net <no...@so...> - 2005-03-05 07:41:38
|
Bugs item #1156428, was opened at 2005-03-04 17:04 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1156428&group_id=2435 Category: w32api Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Brent Burton (brentb) Assigned to: Nobody/Anonymous (nobody) Summary: winnt.h syntax error Initial Comment: In the w32api, include/winnt.h has this at line 209: #define INVALID_FILE_ATTRIBUTES (DWORD (-1)) MS Visual Studio .Net 2003 defines it as: #define INVALID_FILE_ATTRIBUTES ((DWORD)-1) This is in PlatformSDK/Include/WinBase.h line 62. This syntax problem was found in "the wild" while compiling glib-2.6.2 (and 2.6.3), glib/gfileutils.c:142: int attributes; ... if (attributes == INVALID_FILE_ATTRIBUTES) {...} The above is being compiled by MingW 3.1.0, gcc 3.4.2. The actual syntax error is "error at token before "-" ". ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2005-03-05 20:41 Message: Logged In: YES user_id=11494 You must have an old version of winnt.h in the wild. This was fixed over a year ago. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1156428&group_id=2435 |