Re: Visual C++ 2005

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
Cc: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Visual C++ 2005
Date: 2006-04-22 09:41:21
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0F928@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2006-04-22 10:12:18 Re: Visual C++ 2005
Previous Message Magnus Hagander 2006-04-22 09:37:27 Re: Visual C++ 2005