Re: Visual C++ 2005 - Mailing list pgadmin-hackers

From Magnus Hagander
Subject Re: Visual C++ 2005
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0F928@algol.sollentuna.se
Whole thread Raw
In response to Visual C++ 2005  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: Visual C++ 2005
List pgadmin-hackers
> > Sounds like distri bloating, for no benefit.
> >
> > Best would be if this manifest stuff could be omitted totally; we
> > probably could link to the old msvcrt then.
>
> The bloat is only about 1.5Mb which isn't too bad, but having

Or you can just link statically and then only pull in the parts you
need?

> just watched literally thousands of warnings go past when
> compiling wxWidgets about all sorts of stuff like strdup
> being deprecated, I really can't be bothered to carry on.
> Perhaps when wx is cleaned up...

For that, you need a:
#define _CRT_SECURE_NO_DEPRECATE

Or as a /D in your build file.

Should make them all go away.

See for example
http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx?si
de=true and
http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Fram
ework/CPlusSafeLibraries.htm.


//Magnus

pgadmin-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Visual C++ 2005
Next
From: Andreas Pflug
Date:
Subject: Re: Visual C++ 2005