Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] OpenCV and CGAL
- Date: Thu, 24 Apr 2008 19:23:22 +0200
Angelina,
wrote:
Andreas was right (as usual) Thanks! - it was not as hopeless as I thought to
look through the huge error list :)
Here what does the job(in case someone else needs it too):
#undef min
#undef max
That's strange. We made quite an effort to live with the
#define of min and max as they are also defined in the
Microsoft header file windows.h.
Undefining them is in general a bad idea, as Microsoft products
simply need these defines.
In case the appearances of min(a,b) are in your own code, the
workaround is to wrap the word "min" as follows
(min)(a,b)
The additional parethesis prevents the preprocessor to do its work.
andreas (who is not always right)
- Re: Re: [cgal-discuss] OpenCV and CGAL, novacheva, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Andreas Fabri, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Andreas Fabri, 04/24/2008
- <Possible follow-up(s)>
- Re: Re: [cgal-discuss] OpenCV and CGAL, novacheva, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Andreas Fabri, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Wesley Smith, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Andreas Fabri, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Sylvain Pion, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Wesley Smith, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Wesley Smith, 04/24/2008
- Re: [cgal-discuss] OpenCV and CGAL, Andreas Fabri, 04/24/2008
Archive powered by MHonArc 2.6.16.