HDFGroup / hdf5

Official HDF5® Library Repository
https://www.hdfgroup.org/
Other
605 stars 244 forks source link

`h5c++ -show -c` does not work #4932

Open mtelka opened 1 week ago

mtelka commented 1 week ago

Describe the bug

When I run h5c++ -show -c it prints nothing.

Expected behavior

h5c++ -show -c prints something useful, similarly as h5cc -show -c does.

Platform

I tried following platforms:

Additional context

Rocky Linux 9:

$ h5cc -show -c
gcc -I/usr/include -c
$ h5c++ -show -c
$

OpenIndiana Hipster:

$ h5cc -show -c
/usr/gcc/13/bin/gcc -I/usr/include/hdf5 -m64 -O3 -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -c -c
$ h5c++ -show -c
$
mtelka commented 1 week ago

Please note that h5c++ -show works properly.

The non-working h5c++ -show -c is causing problems for meson here: https://github.com/mesonbuild/meson/blob/1.5.2/mesonbuild/dependencies/hdf5.py#L123