Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
X
Xdmf
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Xdmf
  • Xdmf
  • Issues
  • #2

Closed
Open
Opened 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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xdmf/xdmf#2