[Insight-users] Visual Studio 2005: _CRT_SECURE_NO_DEPRECATE

Paul Richards paul.richards at gmail.com
Sat Mar 15 05:56:29 EDT 2008


Perfect.  :)


On 13/03/2008, Karthik Krishnan <karthik.krishnan at kitware.com> wrote:
> We added a guard in vcl_compiler.h and have requested the change be
> committed on VXL. Please let us know if it works for you.
>
> #   ifndef _CRT_SECURE_NO_DEPRECATE
> #    define _CRT_SECURE_NO_DEPRECATE 1
> #   endif
>
> Thanks for the report
>
> -
> karthik
>
>
> On 3/13/08, Paul Richards <paul.richards at gmail.com> wrote:
> >
> > Hi,
> > The ITK header files try to set this macro, which is used to disable
> > some of Microsoft's "secure" C Runtime stuff.
> >
> > The problem is that we already define this macro in our own project,
> > and so we get a clash when the ITK header file tries to redefine it.
> > Can the ITK header be changed to set this macro only if it hasn't
> > already been set?
> >
> >
> > --
> > Paul Richards
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
>
>


-- 
Paul Richards


More information about the Insight-users mailing list