On Sep 22, 2013, at 6:14 PM, Tom Browder wrote:

> We find that the hypot function is a C99 function (see man hypot).
> 
> So what is the approved solution for that?  Macro guards?

If we test for the function in CMakeLists.txt, it will almost certainly pass a 
function test but will fail a header declaration check.  The solution is 
usually to just provide a declaration of the function.  An example where we 
already do this is fileno() (see HAVE_FILENO and HAVE_DECL_FILENO checks).

Cheers!
Sean


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to