From: Neil S. <ne...@ha...> - 2008-01-13 00:19:08
|
Benjamin Dunton wrote: > All, > I have a program that is specifically told to link as objective-C++. W= hen I > do this, RBApplicationMain is undefined at link time (it is linked as a= > framework, and on the link line.) If I change to "According to Source > Type", it would work, but I have some code in a *.h file that is C++ > specific that does not compile properly (I'm assuming because it is rea= ding > the .h file according to obj-c rules). >=20 > Can anyone help? extern "C" { #include <RBRuntime.h> } You probably need to change your include like so, to get C linkage for=20 that function. --=20 Neil Stevens - ne...@ha... If you're seeing shades of gray, it's because you're not looking close enough to see the black and white dots. |