But indeed, C++ ABI complexities make it harder to get a C++ lib working always and everywhere. I've come across the MSVC/GNU incompatibility, but didn't know about the GNU version conflicts mentioned by Mathieu.
Hi Katja,
You might want to have a look at a language called Vala:
https://live.gnome.org/Vala
It's an OOP language ( looks like C#) that compiles down to OOP C. That way, it is ABI compliant with all other C libs. You can also create a C lib yourself from it.
It was written with GNOME's GObject in mind, so anything you write in Vala would depend on libglib and libgobject....which may or may not be what you want. However, if you are creating a DSP library, the larger set of utility features that libglib has to offer might come in handy.
best
-august.