Re: [Pyobjc-dev] doc-based project, bin-python-main.m does not compile
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-07-05 19:27:59
|
On Saturday, 5 July, 2003, at 20:43, Bill Dozier wrote: > Hi All, > > bin-python-main.m does not compile. There are errors due to variables > not being declared early enough. > > Does this code compile for anyone else? I'd love to be able to declare > variables later, C++ style, if obj-c can allow it. What compiler are you using? The default compiler on OSX 10.2 should be gcc 3.1, and that allows "C++ style" declarations, GCC 2.95 doesn't. You can check the default compiler using 'gcc_select'. Ronald |