From 4b64fd25a40bfbae3f90d4e1cf7b926c8a5cc573 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 25 Apr 2003 08:23:45 +0000 Subject: [PATCH] Sun CC 5.4 has but at the same time a bug in it --- .../Configuration/config/testfiles/CGAL_CFG_NO_LIMITS.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Packages/Configuration/config/testfiles/CGAL_CFG_NO_LIMITS.C b/Packages/Configuration/config/testfiles/CGAL_CFG_NO_LIMITS.C index 69ca9af16c4..93346c7f278 100644 --- a/Packages/Configuration/config/testfiles/CGAL_CFG_NO_LIMITS.C +++ b/Packages/Configuration/config/testfiles/CGAL_CFG_NO_LIMITS.C @@ -21,7 +21,8 @@ // The following documentation will be pasted in the generated configfile. // --------------------------------------------------------------------- -//| If a compiler doesn't know the limits +//| If a compiler doesn't know the limits (g++-2.95) +//| or has a bug in the implementation (Sun CC 5.4) //| CGAL_CFG_NO_LIMITS is set. #include @@ -29,6 +30,9 @@ int main() { + if(std::numeric_limits::denorm_min() == 0){ + return 1; + } return 0; }