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:
In reply to [OT] Building Math::Pari on M$ Windows by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |