Skip to content

h5(p)*c is not parsing compile line correctly #4964

Open
@brtnfld

Description

@brtnfld

The h5(p)cc wrapper incorrectly parses a command line with an escaped space. For example:

h5pcc -DPACKAGE_STRING="hdf5-iotest\ 0.1.0" ph5_hyperslab_by_col.c
: warning: missing terminating " character
gcc-13: warning: 0.1.0": linker input file unused because linking not done
gcc-13: error: 0.1.0": linker input file not found: No such file or directory

Same with h5(p)fc

h5pfc -DPACKAGE_STRING="hdf5-iotest\ 0.1.0" ph5_f90_hyperslab_by_col.F90
gfortran-13: warning: 0.1.0": linker input file unused because linking not done
gfortran-13: error: 0.1.0": linker input file not found: No such file or directory

This is with HDF5 develop and OpenSUSE 15.6

Metadata

Metadata

Labels

Component - ToolsCommand-line tools like h5dump, includes high-level toolsPriority - 0. BlockerThis MUST be merged for the release to happen

Type

Projects

Status

Scheduled/On-Deck

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions