Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeclared identifier uint #3638

Closed
eschnett opened this issue May 25, 2023 · 4 comments
Closed

Undeclared identifier uint #3638

eschnett opened this issue May 25, 2023 · 4 comments

Comments

@eschnett
Copy link
Contributor

I am configuring ADIOS2 2.9.0 with HDF5 1.14.0 on Windows. This leads to an undefined identifier error in line 40 of file source/h5vol/H5VolUtil.h: uint is not defined.

@eisenhauer
Copy link
Member

Yeah, uint is not guaranteed to be available across all compilers. You might edit that to be "unsigned int" in the short term. (Or add a typedef, since it also appears in H5VolUtil.c as well.) @guj ? I guess we're not doing windows builds with HDF5?

@guj
Copy link
Contributor

guj commented May 26, 2023

Thanks for spotting this. size_t would be enough. I will put a PR on it.

@guj guj closed this as completed in 59c589e May 29, 2023
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this issue May 29, 2023
(cherry picked from commit 59c589e)
@ax3l
Copy link
Contributor

ax3l commented Jun 1, 2023

@eschnett did you furthermore encounter / work-around

D:\bld\adios2-split_1685654832661\work\source\h5vol\H5VolReadWrite.c(19): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

?

#3649 (comment)

@eschnett
Copy link
Contributor Author

eschnett commented Jun 2, 2023

I don't recall seeing that error. I am using a patch that replaces uint with unsigned, and everything is working fine then.

vicentebolea added a commit that referenced this issue Jul 3, 2023
* release_29:
  Allow Span in files opened for Append
  crusher,ci: set unique env per pipeline
  fixed #3638
  CI,windows: change MSMPI URL
  Bump requests from 2.28.1 to 2.31.0 in /docs
  docs: update whatsnew
  ci,crusher: minor tweaks
  ci,olcf,crusher: enable Crusher CI
  ci,ascent: enable ascent builds
  Merge pull request #3623 from vicentebolea/kokkos-use-nvcc-wrapper
  BP5: fixes memory error with IBM XL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants