Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL disables exception handling in MingW

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL disables exception handling in MingW


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL disables exception handling in MingW
  • Date: Tue, 26 Feb 2013 11:20:35 +0100
  • Organization: GeometryFactory

Le mardi 26 février 2013 10:13:32 Dragan Vidovic a écrit :

> Exception handling stops working in my C++ program if I link it with

> CGAL in MingW, even if no CGAL code is executed. If CGAL is removed,

> exception handling works fine. In Linux everything works fine. I tried

> adding the -mthreads options to the compiler and to the linker while

> building CGAL and my program, but this did not change anything. I

> noticed this problem with CGAL-3.9 and CGAL-4.1 using boost_1_46_0 or

> boost_1_53_0. Compiler version is 4.6.2.

 

That issue will probably be difficult to debug.

 

Can you please show us a simple .cpp that compiles with MinGW, uses exceptions correctly, and no longer runs correctly once CGAL libraries are linked with the executable? I will use that to try to reproduce and debug.

 

Have you use the same version of the compiler to build the CGAL libraries?

 

--

Laurent Rineau, PhD

R&D Engineer at GeometryFactory http://www.geometryfactory.com/

Release Manager of the CGAL Project http://www.cgal.org/

 




Archive powered by MHonArc 2.6.18.

Top of Page