[mac-gs] build errors: gs 8.0, mac os 9, codewarrior 8.3
Adam Heinz
AHeinz@exstream.com
Wed, 16 Jul 2003 09:49:49 -0400
First off, I'd like to apologize for cc-ing gs-devel, but as best I can tell, mac-gs is pretty much dead.
I've been using AFPL Ghostscript on Windows for about a year now, and I'm in the middle of porting our application to Macintosh. I've fixed all but 13 of my compile errors on Macintosh (OS X, running CodeWarrior in classic mode) by changing project settings. I get:
Error: ')' expected
gp_mac.c line 361 gp_check_interrupts(void)
and a number of errors that appear to cascade from that one. The function declaration matches its prototype at gpcheck.h:39, but since I'm not on Windows, the
#define gp_check_interrupts() 0
at gpcheck:49 would be called. It seems reasonable to me that CodeWarrior might not like seeing a function prototype for a macro, which is then also redefined by the implementation of gp_check_interrupts. I commented out that macro, which fixed that set of compile errors, but that's not a suitable fix for commit, as it leaves in the interrupt processing when it shouldn't.
The other compile error I got involved the redefinition of INT32_MIN/MAX/UINT macros in gdevupd.c:597-560, which I also commented out.
I hope these hacks point a developer to some small fixes (or somebody else points me to project settings I missed). :)
Adam Heinz
Development Consultant
Exstream Software
2424 Harrodsburg Road, Suite 200
Lexington, KY 40503
(859) 219.8137
> (859) 223.9737 fax
aheinz@exstream.com
connecting with the eGeneration
www.exstream.com