Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Questons on Visual Studio project setting : _SECURE_SCL=0

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Questons on Visual Studio project setting : _SECURE_SCL=0


Chronological Thread 
  • From: Fernando Cacciola <>
  • To:
  • Subject: Re: [cgal-discuss] Questons on Visual Studio project setting : _SECURE_SCL=0
  • Date: Fri, 23 Jan 2009 16:05:48 -0200

Hi Joe,

Hi, all

I noticed that all CGAL examples in VC++ have the project setting : _SECURE_SCL=0. I wonder if this is a must for CGAL. In my Visual Studio solution, I have other non-CGAL projects using default _SECURE_SCL=1. In Debug mode, everything runs well. But in Release mode, I got some STL vector errors. Is it possible that the mix of _SECURE_SCL=0 and _SECURE_SCL=1 for different projects in one sultion causes all the trouble?

Yes, it is precisely that.

> Is it safe to set _SECURE_SCL=1 for all CGAL-related projects?

Yes, it is...
Is just that it is then painfully slow. That's why it is turned off by default, but you can have it on sync with the rest of your projects.

HTH

Fernando Cacciola

www.geometryfactory.com




Archive powered by MHonArc 2.6.16.

Top of Page