From cc14095b22d947d519a5bf1f2df2c35b99febfdb Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Sun, 18 Mar 2007 13:21:33 +0000 Subject: [PATCH] Protect against long long and long double buggy IOs with pgcc. --- Number_types/test/Number_types/ioformat.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Number_types/test/Number_types/ioformat.cpp b/Number_types/test/Number_types/ioformat.cpp index f65caf02453..51d6c4262ca 100644 --- a/Number_types/test/Number_types/ioformat.cpp +++ b/Number_types/test/Number_types/ioformat.cpp @@ -63,13 +63,15 @@ int main() // TESTIT(unsigned int, "unsigned int") // TESTIT(unsigned long int, "unsigned long int") // TESTIT(unsigned short int, "unsigned short int") -#ifdef CGAL_USE_LONG_LONG +#if defined CGAL_USE_LONG_LONG && !defined CGAL_CFG_LONG_LONG_IO_BUG TESTIT(long long, "long long") // TESTIT(unsigned long long, "unsigned long long") #endif TESTIT(float, "float") TESTIT(double, "double") +#ifndef CGAL_CFG_NO_LONG_DOUBLE_IO TESTIT(long double, "long double") +#endif // CGAL number types //TESTIT(CGAL::MP_Float, "MP_Float")