Subject: CGAL users discussion list
List archive
- From: Francesc Vila <>
- To:
- Subject: Re: [cgal-discuss] problem with TAUCS
- Date: Tue, 27 Jul 2010 16:54:15 +0200
El 27/07/2010 16:26,
escribió:
Hi,Well, I suppose it is all about what Laurent said. You must have some min/max macros defined somewhere.
but i already used this headers on other projects ( one of those projects was
also an example of CGAL - Triangulation_3) and now i'm confused because this
never happened. This is the first time i am using cmake...all the other
projects i made were with VC++...and had no problems.
Francesc i don't think i have that header included in my project, but i will
check. But anyway, can you explain better what to did to solve it? i didn't
understand very well what you meant by removing the header and using macros...
Best regards and thanks for your help,
Cristóvão
In my particular case (and I mentioned it because you are using VC++ as I am), I included Winsock2 header. For what i saw, this header includes windows.h, which defines min/max macros (that receive an argument). That's why the compiler substituted the std::numeric_limits<T>::min() with the macro (and not using the real function to calculate the type limits).
I only needed the ntoh/hton macros from winsock, so I removed the winsock header and implemented those macros myself.
This is only my particular case, but I found it might help you somehow.
I'm reviewing the project settings generated by CMake, and I can't see anything unusual, sorry. Anyway, you could always generate a new project/solution and add the example and your headers, without using cmake.... I suppose that the result must remain the same (unless you have custom compile settings in order to use the headers)
Regards,
Francesc
- Re: Re: [cgal-discuss] problem with TAUCS, (continued)
- Re: Re: [cgal-discuss] problem with TAUCS, cristovao_jdc, 07/20/2010
- Re: Re: Re: [cgal-discuss] problem with TAUCS, cristovao_jdc, 07/20/2010
- Re: [cgal-discuss] problem with TAUCS, Laurent Saboret, 07/20/2010
- Re: Re: [cgal-discuss] problem with TAUCS, cristovao_jdc, 07/25/2010
- Re: Re: Re: [cgal-discuss] problem with TAUCS, cristovao_jdc, 07/25/2010
- Re: [cgal-discuss] problem with TAUCS, Laurent Saboret, 07/26/2010
- Re: Re: [cgal-discuss] problem with TAUCS, cristovao_jdc, 07/26/2010
- Re: [cgal-discuss] problem with TAUCS, Laurent Saboret, 07/26/2010
- Re: [cgal-discuss] problem with TAUCS, Francesc Vila, 07/26/2010
- Re: Re: [cgal-discuss] problem with TAUCS, cristovao_jdc, 07/27/2010
- Re: [cgal-discuss] problem with TAUCS, Francesc Vila, 07/27/2010
- Re: Re: [cgal-discuss] problem with TAUCS, cristovao_jdc, 07/27/2010
- Re: [cgal-discuss] problem with TAUCS, Laurent Saboret, 07/28/2010
- Re: [cgal-discuss] problem with TAUCS, Francesc Vila, 07/28/2010
Archive powered by MHonArc 2.6.16.