--- In
[hidden email], "threeflyingmonkeysuk" <adam@...> wrote:
>
> I'm trying to include for example <Foundation/Foundation.h> in my Mac Plugin and I get thousands of errors.
>
The foundation headers should be compiled with the Objective c compiler (.m). The plugin API uses the c++ compiler (.cpp) which as you have found out throws thousands of errors.
Do a search on the web about mixing c++ and objective c if you want to continue using the cocoa classes or use Core Foundation.
cheers Stephen