Re: Slaying the HYPOTamus

From: Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Slaying the HYPOTamus
Date: 2009-08-23 10:21:22
Message-ID: b0f3f5a10908230321t333704b3y292cf07bcdccbcd4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/8/23 Magnus Hagander <magnus(at)hagander(dot)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>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Roger Leigh 2009-08-23 10:32:38 Re: Unicode UTF-8 table formatting for psql text output
Previous Message Magnus Hagander 2009-08-23 09:16:52 Re: Slaying the HYPOTamus