Dan Hazon wrote: ... > > Can you suggest an elegant way to overcome those errors? > > I'm interfacing with some other C++ code and must use g++. Why don't you compile the C-target with a C-compiler and reference the resulting library via extern C? Johannes