1.14 Redefines ssize_t
on Windows WSL w/ Conda-Forge (GCC) Compilers
#5245
Labels
Component - Build
CMake, Autotools
Priority - 2. Medium ⏹
It would be nice to have this in the next release
Type - Bug / Bugfix
Please report security issues to [email protected] instead of creating an issue on GitHub
Describe the bug
We have developers developing our C++ code on Windows WSL (Ubuntu) using the Conda-Forge compilers (GCC 13.3).
We noticed an error in
H5public.H
, where HDF5 declares a publictypedef
on a type namedssize_t
, which breaks compiles (because it is default in the C++ standard lib, too).ECP-WarpX/impactx#799
https://github.com/HDFGroup/hdf5/blob/hdf5_1.14.4.3/src/H5public.h#L267-L290
Expected behavior
Should not add a public define.
Platform (please complete the following information)
Additional context
The code in question is a DOE SciDAC-5 supported accelerator modeling code, ImpactX. The same problem would also show in other SciDAC-5 codes that use this, e.g., WarpX, Synergia.
ECP-WarpX/impactx#799
The text was updated successfully, but these errors were encountered: