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

Build failed with GCC 14 #25

Open
Xeonacid opened this issue May 22, 2024 · 1 comment
Open

Build failed with GCC 14 #25

Xeonacid opened this issue May 22, 2024 · 1 comment

Comments

@Xeonacid
Copy link

/build/csound-plugins/src/plugins-1.0.2/hdf5/HDF5IO.c: In function ‘HDF5IO_readStringAttribute’:
/build/csound-plugins/src/plugins-1.0.2/hdf5/HDF5IO.c:233:39: error: passing argument 2 of ‘H5Oget_info1’ from incompatible pointer type [-Wincompatible-pointer-types]
  233 |     HDF5ERROR(H5Oget_info1(dataSetID, &oinfo));
      |                                       ^~~~~~
      |                                       |
      |                                       H5O_info2_t *
/usr/include/csound/sysdep.h:345:45: note: in definition of macro ‘UNLIKELY’
  345 | #  define UNLIKELY(x)   __builtin_expect(!!(x),0)
      |                                             ^
/build/csound-plugins/src/plugins-1.0.2/hdf5/HDF5IO.c:233:5: note: in expansion of macro ‘HDF5ERROR’
  233 |     HDF5ERROR(H5Oget_info1(dataSetID, &oinfo));
      |     ^~~~~~~~~
In file included from /usr/include/H5Apublic.h:21,
                 from /usr/include/hdf5.h:22,
                 from /build/csound-plugins/src/plugins-1.0.2/hdf5/HDF5IO.h:21:
/usr/include/H5Opublic.h:1854:55: note: expected ‘H5O_info1_t *’ but argument is of type ‘H5O_info2_t *’
 1854 | H5_DLL herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo);
      |                                          ~~~~~~~~~~~~~^~~~~
@Xeonacid Xeonacid changed the title Build failed with GCC 13 Build failed with GCC 14 May 31, 2024
@ycollet
Copy link

ycollet commented Oct 10, 2024

I had the same problem for csound 6 and hdf5.
Build tried on Fedora 40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants