Extra #undef

Marc Glisse marc.glisse at inria.fr
Sun Feb 27 11:19:54 CET 2011


Hello,

there is a horrible catastrophic bug in gmpxx.h, it #undefs macros that 
are never defined ;-)

Note that the recent macros like __GMPXX_TMP_UI have no #undef, but that 
could be on purpose as they might be useful to a user.

-- 
Marc Glisse
-------------- next part --------------
*** gmp.e36c4ca6ddb9/gmpxx.h	2011-02-26 12:19:11.499326235 +0100
--- /home/glisse/repos/gmp/gmpxx.h	2011-02-26 12:18:56.755346179 +0100
***************
*** 3354,3369 ****
  #undef __GMPNLD_DEFINE_BINARY_TYPE_FUNCTION
  #undef __GMPN_DEFINE_BINARY_TYPE_FUNCTION
  #undef __GMP_DEFINE_BINARY_TYPE_FUNCTION
  
  #undef __GMPZ_DEFINE_COMPOUND_OPERATOR
- #undef __GMPZN_DEFINE_COMPOUND_OPERATOR
- #undef __GMPZNN_DEFINE_COMPOUND_OPERATOR
- #undef __GMPZNS_DEFINE_COMPOUND_OPERATOR
- #undef __GMPZNU_DEFINE_COMPOUND_OPERATOR
- #undef __GMPZND_DEFINE_COMPOUND_OPERATOR
- #undef __GMPZNLD_DEFINE_COMPOUND_OPERATOR
  
  #undef __GMPP_DEFINE_COMPOUND_OPERATOR
  #undef __GMPNN_DEFINE_COMPOUND_OPERATOR
  #undef __GMPNS_DEFINE_COMPOUND_OPERATOR
  #undef __GMPNU_DEFINE_COMPOUND_OPERATOR
--- 3354,3363 ----


More information about the gmp-bugs mailing list