Can't Compile CPP with Static Only Options
Open
Component - Build
- Dominant language
- C
- Stars
- 988
- Forks
- 355
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 12
Description
These combinations fail to compile on Ubuntu 22, 24 both x86_64 and arm64.
```
cmake -G Ninja \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DBUILD_STATIC_LIBS:BOOL=ON \
-DHDF5_ONLY_SHARED_LIBS:BOOL=OFF \
-DHDF5_BUILD_STATIC_TOOLS:BOOL=ON \
-DBUILD_STATIC_EXECS:BOOL=ON \
-DHDF5_BUILD_CPP_LIB:BOOL=ON \
-DHDF5_BUILD_FORTRAN:BOOL=ON \
```
Ubu-24: 15 compiler errors
Ubu-22: 12 compiler errors
Ubu-24-arm: 9 compiler errors
Contributor guide
Assessment
This issue has not been assessed yet.