This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Compiling POV-Ray 3.01 with Mingw32 (gcc 2.8.1)
- To: cygwin <gnu-win32 at cygnus dot com>
- Subject: Re: Compiling POV-Ray 3.01 with Mingw32 (gcc 2.8.1)
- From: Alain CULOS <ZAlain dot Culos at bigfoot dot com>
- Date: Mon, 11 May 1998 19:40:19 +0100
- Organization: http://homepage.tinet.ie/~alainjoanna/
- References: <355604E7.54F8D928@bigfoot.com>
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@cygnus.com" with one line of text: "help".