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

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

Open
brtnfld opened this issue Oct 16, 2024 · 0 comments
Open

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

brtnfld opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
Component - Tools Command-line tools like h5dump, includes high-level tools Merge - To 2.0 This needs to be merged to HDF5 2.0 Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to [email protected] instead of creating an issue on GitHub

Comments

@brtnfld
Copy link
Contributor

brtnfld commented Oct 16, 2024

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

@brtnfld brtnfld added Component - Tools Command-line tools like h5dump, includes high-level tools Merge - To 2.0 This needs to be merged to HDF5 2.0 Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to [email protected] instead of creating an issue on GitHub labels Oct 16, 2024
@brtnfld brtnfld assigned brtnfld and unassigned bmribler Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Tools Command-line tools like h5dump, includes high-level tools Merge - To 2.0 This needs to be merged to HDF5 2.0 Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to [email protected] instead of creating an issue on GitHub
Projects
None yet
Development

No branches or pull requests

2 participants