syphilis has asked for the wisdom of the Perl Monks concerning the following question:
The obvious thing to do is to then take a look at the offending code - even though one knows that there's not going to be any syntax errors in Platform SDK's WinUser.h. Anyway, when I run my little app that retrieves lines from a file I get:C:\_64\Platform_SDK\Include\WinUser.h(9659) : error C2146: syntax erro +r : missing ')' before identifier 'gpsi' C:\_64\Platform_SDK\Include\WinUser.h(9659) : error C2061: syntax erro +r : identifier 'gpsi' C:\_64\Platform_SDK\Include\WinUser.h(9659) : error C2059: syntax erro +r : ';' C:\_64\Platform_SDK\Include\WinUser.h(9659) : error C2059: syntax erro +r : ',' C:\_64\Platform_SDK\Include\WinUser.h(9660) : error C2059: syntax erro +r : ')' C:\_64\Platform_SDK\Include\WinUser.h(9668) : error C2146: syntax erro +r : missing ')' before identifier 'gpsi' C:\_64\Platform_SDK\Include\WinUser.h(9668) : error C2061: syntax erro +r : identifier 'gpsi' C:\_64\Platform_SDK\Include\WinUser.h(9668) : error C2059: syntax erro +r : ';' C:\_64\Platform_SDK\Include\WinUser.h(9668) : error C2059: syntax erro +r : ')' ../pari-2.1.7\src\gp\highlvl.c(201) : warning C4311: 'type cast' : poi +nter truncation from 'GEN' to 'long' ../pari-2.1.7\src\gp\highlvl.c(204) : warning C4311: 'type cast' : poi +nter truncation from 'GEN' to 'long' ../pari-2.1.7\src\gp\highlvl.c(218) : warning C4311: 'type cast' : poi +nter truncation from 'GEN' to 'long' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.
It puzzles me that there's not a 'gpsi' to be seen. (Is it possible that computers can suffer hallucinations from passive smoking ??)Enter the line number 9659 Enter (full path to) file C:\_64\Platform_SDK\Include\WinUser.h 9655: WINAPI 9656: SetScrollInfo( 9657: __in HWND hwnd, 9658: __in int nBar, 9659: __in LPCSCROLLINFO lpsi, 9660: __in BOOL redraw); 9661: 9662: WINUSERAPI 9663: BOOL 9664: WINAPI 9665: GetScrollInfo( 9666: __in HWND hwnd, 9667: __in int nBar, 9668: __inout LPSCROLLINFO lpsi); 9669:
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: [OT] Building Math::Pari on M$ Windows
by almut (Canon) on Apr 03, 2007 at 13:44 UTC | |
Re: [OT] Building Math::Pari on M$ Windows
by cdarke (Prior) on Apr 03, 2007 at 14:11 UTC | |
by syphilis (Archbishop) on Apr 04, 2007 at 03:02 UTC | |
by BrowserUk (Patriarch) on Apr 04, 2007 at 03:36 UTC | |
by syphilis (Archbishop) on Apr 04, 2007 at 15:57 UTC | |
by BrowserUk (Patriarch) on Apr 04, 2007 at 16:15 UTC | |
by BrowserUk (Patriarch) on Apr 23, 2007 at 23:04 UTC |