Re: Slaying the HYPOTamus - Mailing list pgsql-hackers

From Nicolas Barbier
Subject Re: Slaying the HYPOTamus
Date
Msg-id b0f3f5a10908230321t333704b3y292cf07bcdccbcd4@mail.gmail.com
Whole thread Raw
In response to Re: Slaying the HYPOTamus  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
2009/8/23 Magnus Hagander <magnus@hagander.net>:

> For another data point, Microsoft documentation says:
> "This POSIX function is deprecated beginning in Visual C++ 2005. Use
> the ISO C++ conformant  _hypot instead."
>
> _hypot() has been there since Windows 95, so it shouldn't be a problem
> to use it - it just needs a define, like we have for some other such
> functions.

FYI, according to [1], this warning is bogus (i.e., "hypot" without
underscore should be entirely OK) and will be removed in VS 2010.

Nicolas

[1] <url:http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=289653>


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Slaying the HYPOTamus
Next
From: Roger Leigh
Date:
Subject: Re: Unicode UTF-8 table formatting for psql text output