Re: [Plib-users] link plib into code on mac osx
Brought to you by:
sjbaker
From: Bernhard W. <bw...@ca...> - 2004-10-23 12:49:39
|
Sorry, I should read properly... But no that isn't what is happening, -Bernhard On 23 Oct 2004, at 13:46, Frederic Bouvier wrote: > 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 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users |