Mail Archives: cygwin/1998/05/13/06:05:27
Hi All,
OK, I got past that one thanks to Mumit, I simply needed to define NEAR in my compilation command line ....
Some other helpful soul got me past another one (that I had posted on a Povray newsgroup) that people may find missing in Mingw32 headers :
In Structures.h, one should add the following line :
typedef BITMAPCOREHEADER FAR *LPBITMAPCOREHEADER;
I'm finding more errors, I guess headers are incomplete somewhere, so I'll try and do my best to report to this list what I can find.
Thanks again for those who helped or attempted to,
Alain.
> Extract of the code is :
> ============
> void NEAR PASCAL pvncGetStruct (HWND hWnd, pvncStruct *pvnc) ;
> void NEAR PASCAL pvncSetStruct (HWND hWnd, pvncStruct *pvnc) ;
> ============
> The compiler insult is :
> ======
> pvengine.h:346: warning: `stdcall' attribute directive ignored
> pvengine.h:346: parse error before `pvncGetStruct'
> pvengine.h:347: warning: `stdcall' attribute directive ignored
> pvengine.h:347: parse error before `pvncSetStruct'
> ======
--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :
Pour me répondre, veuillez enlever le Z de mon adresse.
To answer me, please take out the Z from my address.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -