Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X Xdmf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Xdmf
  • Xdmf
  • Issues
  • #2

Closed
Open
Created Feb 10, 2017 by viccie30@viccie30

Incompatible type for hid_t

In core/XdmfHDF5Controller.hpp hid_t is typedef'ed to int, but my hdf5 installation defines hid_t as an int64_t, making the types incompatible. Perhaps it would be possible to check the type of hid_t with CMake, to keep the independence from hdf5 headers.

This is the error:

/usr/local/src/VTK-7.1.0/ThirdParty/xdmf3/vtkxdmf3/core/XdmfHDF5Controller.hpp:36:17: note: type ‘hid_t’ should match type ‘hid_t’
     typedef int hid_t;
                 ^
/usr/include/hdf5/openmpi/H5Ipublic.h:56:17: note: the incompatible type is defined here
 typedef int64_t hid_t;
                 ^
Assignee
Assign to
Time tracking