GMP, C++ and extern "C"

Torbjorn Granlund tege at swox.com
Sun Nov 19 23:28:20 CET 2006


How about this unelegant solution:

  #if __cplusplus
  }                               // end extern "C" block
  #endif
  #include "gmp.h"
  #if __cplusplus
  {                               // restart extern "C" block
  #endif

-- 
Torbjörn


More information about the gmp-bugs mailing list