I'm trying to install the ptypes library under OS X 10.4.10. It will compile and install correctly, but when I go to use the library in any application I get the following errors:
My version of gcc/g++ is:
i686-apple-darwin8-gcc-4.0.1
and the ptypes library can be found here:
http://www.melikyan.com/ptypes/index.html
Does anyone have any suggestions? It's a C++ library and when it built it used g++ so I'm not sure why it is giving error message pertaining to C.
Code:
/usr/include/ptypes.h:39: error: declaration of C function 'void* pt::pexchange(void**, void*)' conflicts with
/usr/include/ptypes.h:38: error: previous declaration int pt::pexchange(int*, int)' here
My version of gcc/g++ is:
i686-apple-darwin8-gcc-4.0.1
and the ptypes library can be found here:
http://www.melikyan.com/ptypes/index.html
Does anyone have any suggestions? It's a C++ library and when it built it used g++ so I'm not sure why it is giving error message pertaining to C.