Re: [Plib-users] link plib into code on mac osx
Brought to you by:
sjbaker
From: Frederic B. <fre...@fr...> - 2004-10-23 12:46:46
|
Bernhard Windisch wrote : >> extern "C" { >> #include "plib/ul.h" >> #include "plib/sg.h" >> } >> >> -Fred > > > Unfortunately that doesn't work either. I was not trying to tell you what to do, but warn you about a possible pitfall. You *shouldn't* have this header in an extern "C" clause because they are C++. Perhaps you included them in another header that is in such a clause > These headers are written using C++. For some (unknown) reason, the > compiler thinks that they are written in C, then tries to read them as > C and finally complains because he cannot understand them. -Fred |