GMP, C++ and extern "C"

Gabriel Dos Reis gdr at
Tue Nov 21 22:09:38 CET 2006

nisse at (Niels Möller) writes:

| Hi,
| I have a pure C library, nettle, that uses GMP. To use it from within
| a C++ program, the recommended way is to wrap the inclusion of any
| nettle header files within extern "C", for example

I don't think that is recommended in any practice of programming
with C++.

-- Gaby

More information about the gmp-bugs mailing list