Missing __THROW on hypot extern definition in vtklibproj4
Using g++ 5.4.0 on CentOs 7.3.1611 (Core), I'm unable to compile VTK-8.0.0 as Line 85 of VTK-8.0.0/ThirdParty/libproj4/vtklibproj4/src/projects.h
has an extern for hypot
that does not match what is in mathcalls.h
. Specifically, mathcalls.h
declares hypot
as throw()
whereas vtklibproj4 extern does not. Therefore Line 84 needs to be changed from
extern double hypot(double, double);
to
extern double hypot(double, double) __THROW;