mirror of https://github.com/CGAL/cgal
This bug concerne only Windows users.
This commit is contained in:
parent
4a83851e31
commit
8a9561d566
|
|
@ -0,0 +1,35 @@
|
|||
// ======================================================================
|
||||
//
|
||||
// Copyright (c) 2002 The CGAL Consortium
|
||||
//
|
||||
// This software and related documentation is part of an INTERNAL release
|
||||
// of the Computational Geometry Algorithms Library (CGAL). It is not
|
||||
// intended for general use.
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
//
|
||||
// release :
|
||||
// release_date :
|
||||
//
|
||||
// file : config/testfiles/CGAL_CFG_NOMINMAX_BUG.C
|
||||
// package : Configuration (2.3)
|
||||
// author(s) : Radu Ursu
|
||||
//
|
||||
// coordinator : Utrecht University
|
||||
//
|
||||
// ======================================================================
|
||||
|
||||
// CGAL_CFG_NOMINMAX_BUG.C
|
||||
// ---------------------------------------------------------------------
|
||||
// A short test program to evaluate a C++ compiler.
|
||||
// This program is used by cgal_configure.
|
||||
// The following documentation will be pasted in the generated configfile.
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
//| This is a test-case for a bug in VC++ 7.0 that redefines min(a, b) and max(a, b)
|
||||
//| Files concerned: windows.h, windef.h
|
||||
//| When the bug is present, CGAL_CFG_VC7_NOMINMAX_BUG is set
|
||||
|
||||
#if defined _MSC_VER
|
||||
#error "NOMINMAX flag should be set"
|
||||
#endif
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
// ======================================================================
|
||||
//
|
||||
// Copyright (c) 2002 The CGAL Consortium
|
||||
//
|
||||
// This software and related documentation is part of an INTERNAL release
|
||||
// of the Computational Geometry Algorithms Library (CGAL). It is not
|
||||
// intended for general use.
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
//
|
||||
// release :
|
||||
// release_date :
|
||||
//
|
||||
// file : config/testfiles/CGAL_CFG_VC7_PRIVATE_TYPE_BUG.C
|
||||
// package : Configuration (2.3)
|
||||
// author(s) : Sylvain Pion
|
||||
//
|
||||
// coordinator : Utrecht University
|
||||
//
|
||||
// ======================================================================
|
||||
|
||||
// CGAL_CFG_VC7_NOMINMAX_BUG.C
|
||||
// ---------------------------------------------------------------------
|
||||
// A short test program to evaluate a C++ compiler.
|
||||
// This program is used by cgal_configure.
|
||||
// The following documentation will be pasted in the generated configfile.
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
//| This is a test-case for a bug in VC++ 7.0 that redefines min(a, b) and max(a, b)
|
||||
//| Files concerned: windows.h, windef.h
|
||||
//| When the bug is present, CGAL_CFG_VC7_NOMINMAX_BUG is set
|
||||
|
||||
#if defined _MSC_VER
|
||||
#error "NOMINMAX flag should be set"
|
||||
#endif
|
||||
Loading…
Reference in New Issue