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

syntax in hl/c++/src/H5PacketTable.h causes PGI failures compiling ptExampleFL.cpp #729

Closed
lrknox opened this issue Jun 5, 2021 · 1 comment
Assignees
Labels
Component - C++ C++ wrappers Priority - 2. Medium ⏹ It would be nice to have this in the next release Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub

Comments

@lrknox
Copy link
Collaborator

lrknox commented Jun 5, 2021

line 36 of hl/c++/src/H5PacketTable.h:
PacketTable() : table_id{H5I_INVALID_HID}
should be?
PacketTable() : table_id(H5I_INVALID_HID)

to fix these errors:
/scr/hdftest/snapshots-hdf5/TestDir/jelly/hdf5/bin/h5c++ -o ptExampleFL /home/hdftest/snapshots-hdf5/current/hl/c++/examples/ptExampleFL.cpp
"/scr/hdftest/snapshots-hdf5/TestDir/jelly/hdf5/include/H5PacketTable.h", line
37: error: expected a declaration
{
^

"/scr/hdftest/snapshots-hdf5/TestDir/jelly/hdf5/include/H5PacketTable.h", line
36: error: expected a "("
PacketTable() : table_id{H5I_INVALID_HID}
^

"/scr/hdftest/snapshots-hdf5/TestDir/jelly/hdf5/include/H5PacketTable.h", line
36: error: expected a ";"
PacketTable() : table_id{H5I_INVALID_HID}
^

@derobins derobins added Priority - 2. Medium ⏹ It would be nice to have this in the next release Component - C++ C++ wrappers Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub labels May 4, 2023
@derobins
Copy link
Member

Fixed in #731

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - C++ C++ wrappers Priority - 2. Medium ⏹ It would be nice to have this in the next release Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub
Projects
None yet
Development

No branches or pull requests

3 participants