In article <2004031520375450073%robertcerny@maccom>,
Robert âern˜ <robertcerny.TakeThisOut@mac.com> wrote:
>Hi,
>indeed I'm mixing c and c++ code and the c headers doesn't contain the
>right extern "C" wrapping. Unfortunatelly, I'm more Objective-C guy and
>I don't recall the right syntax and rules. Could anyone point me to the
>right direction?
>
>Robert
>
>PS: I believe that there should be in each header?
>
>#ifdef __cplusplus
> extern "C" {
>#endif
>
>
All the header code is here
>
>#ifdef __cplusplus
>}
>#endif
You can or can not put the #includes in the extern " C" group, Since
each should have this it isn't necessary.
Oh and you can do that in a prefix file or in your preprocessor dialog
Ron
--
Announcing CodeWarrior Development Tools for Windows v9.2
<a style='text-decoration: underline;' href="http://www.metrowerks.com/MW/Develop/Desktop/Windows/Professional/Default.htm" target="_blank">http://www.metrowerks.com/MW/Develop/Desktop/Windows/Professional/Default.htm</a>
Ron Liechty - MWRon.TakeThisOut@metrowerks.com - <http://www.metrowerks.com><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: link error