I want to use C++ and Grace snippets together. But some of the Grace declarations cause link errors, presumably because they should say extern "C", not just extern. This stumped me for a while, but some other posts showed that the linker gives undefined symbols when linking C++ and C types together.
What is the best workaround for this shortcoming? Is Grace incompatible with C++?