strlen in gmpxx.h

Marc Glisse marc.glisse at normalesup.org
Tue Feb 14 15:45:34 CET 2006


Hello,

while using gmp on solaris with Sun's compiler, I noticed that gmpxx.h 
uses strlen. Using it in c++ code requires the inclusion of <cstring> and 
strlen should then be called std::strlen (the compiler is allowed to make 
strlen visible in the global namespace but not required to).

-- 
Marc Glisse


More information about the gmp-bugs mailing list