Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VTK
VTK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 581
    • Issues 581
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 163
    • Merge Requests 163
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #17077

Closed
Open
Opened Jul 05, 2017 by Chris Marsh@Chrismarsh

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;

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: vtk/vtk#17077