fedora 43 compilation
Posted: Tue Nov 25, 2025 12:47 pm
Dear all,
i try to compile geoopsy 3.5.2 on Fedora 43 and I have the following compilation error:
In file included from /usr/include/H5public.h:39,
from /usr/include/hdf5.h:21,
from src/GeoSignal.cpp:36:
/usr/include/c++/15/cinttypes:60:11: error: ‘imaxdiv_t’ has not been declared in ‘::’
60 | using ::imaxdiv_t;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:63:11: error: ‘imaxabs’ has not been declared in ‘::’
63 | using ::imaxabs;
| ^~~~~~~
/usr/include/c++/15/cinttypes:64:11: error: ‘imaxdiv’ has not been declared in ‘::’
64 | using ::imaxdiv;
| ^~~~~~~
/usr/include/c++/15/cinttypes:70:11: error: ‘strtoimax’ has not been declared in ‘::’
70 | using ::strtoimax;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:71:11: error: ‘strtoumax’ has not been declared in ‘::’
71 | using ::strtoumax;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:74:11: error: ‘wcstoimax’ has not been declared in ‘::’
74 | using ::wcstoimax;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:75:11: error: ‘wcstoumax’ has not been declared in ‘::’
75 | using ::wcstoumax;
| ^~~~~~~~~
Might it be a gcc/g++ conflict? Does anyone has a solution or workaround for this, please?
Thank you for your help,
Honza
i try to compile geoopsy 3.5.2 on Fedora 43 and I have the following compilation error:
In file included from /usr/include/H5public.h:39,
from /usr/include/hdf5.h:21,
from src/GeoSignal.cpp:36:
/usr/include/c++/15/cinttypes:60:11: error: ‘imaxdiv_t’ has not been declared in ‘::’
60 | using ::imaxdiv_t;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:63:11: error: ‘imaxabs’ has not been declared in ‘::’
63 | using ::imaxabs;
| ^~~~~~~
/usr/include/c++/15/cinttypes:64:11: error: ‘imaxdiv’ has not been declared in ‘::’
64 | using ::imaxdiv;
| ^~~~~~~
/usr/include/c++/15/cinttypes:70:11: error: ‘strtoimax’ has not been declared in ‘::’
70 | using ::strtoimax;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:71:11: error: ‘strtoumax’ has not been declared in ‘::’
71 | using ::strtoumax;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:74:11: error: ‘wcstoimax’ has not been declared in ‘::’
74 | using ::wcstoimax;
| ^~~~~~~~~
/usr/include/c++/15/cinttypes:75:11: error: ‘wcstoumax’ has not been declared in ‘::’
75 | using ::wcstoumax;
| ^~~~~~~~~
Might it be a gcc/g++ conflict? Does anyone has a solution or workaround for this, please?
Thank you for your help,
Honza