In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Dan Kogai) wrote:

> As you see, the error occurs on Carbon headers so it must have  
> something to do with new gcc or dev tool.  Very fortunately I have  
> found a very simple workaround.  Instead of simple 'make', type 'make  
> CC=gcc2' and it builds fine.  See the log right after my signature.

Yes, also, gcc_select 2 or gcc_select 3 will do it (which will revert to gcc 
2.9 or gcc 3.1 respectively).

Or, as I have done in Mac::Carbon (not yet on the CPAN), you can #undef 
DEBUG.  I have this in Carbon.h, right below #undef Move.

For some reason -- maybe the new multi-level namespace support? -- the 
previous versions of gcc did not contribute to a conflict between perl's and 
Carbon's DEBUGs, but in 3.3, they do.

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to