On May 2, 2005, at 1:05 AM, Chris Nandor wrote:

* Mac::Carbon requires gcc 3.3 or below, it doesn't work with gcc 4.

I don't know why, and anyone who wants to fix this or give me clues would
make me happy.

I removed the type cast from the #define of gMacPerl_OSErr, Carbon.h line 89, so that it reads:


    #define gMacPerl_OSErr errno

Builds and passes all self-tests with GCC 4.

*However*, there's a note at the top of Carbon.h mentioning that type cast, so I assume you had a good reason for adding it in the first place...

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org



Reply via email to