Peeps :

I'm trying to compile on Fedora 44 (gcc 16.1.1), and I get this error :



In file included from ./src/Dialogs/Task/TaskDialogs.hpp:6,
                 from src/Dialogs/InternalLink.cpp:9:
./src/InfoBoxes/Content/Alternate.hpp:11:6: error:
elaborated-type-specifier for a scoped enum must not use the ‘class’
keyword [-Werror]
   11 | enum class AlternateInfoBoxMode : uint8_t {
      | ~~~~ ^~~~~
      |      -----





FYI, this is the compile line :



g++ src/Dialogs/InternalLink.cpp -c -o
output/UNIX/dbg/src/Dialogs/InternalLink.o -MD -MP -MF
output/UNIX/dbg/src/Dialogs/InternalLink.d -MT
output/UNIX/dbg/src/Dialogs/InternalLink.o -Og -funit-at-a-time -ffast-math
-g -std=c++20 -fno-threadsafe-statics -fmerge-all-constants -fcoroutines
-fconserve-space -fno-operator-names -fvisibility=hidden
-finput-charset=utf-8 -Wall -Wextra -Wwrite-strings -Wcast-qual
-Wpointer-arith -Wsign-compare -Wundef -Wmissing-declarations
-Wredundant-decls -Wmissing-noreturn -Wvla -Wno-format-truncation
-Wno-missing-field-initializers -Wcast-align -Werror -I./src/unix
-I./output/include -isystem ./output/src/boost_1_90_0 -DBOOST_NO_IOSTREAM
-DBOOST_MATH_NO_LEXICAL_CAST -DBOOST_UBLAS_NO_STD_CERR
-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED
-DBOOST_NO_STD_LOCALE -DBOOST_LEXICAL_CAST_ASSUME_C_LOCALE
-DBOOST_NO_CXX98_FUNCTION_BASE -I./src -I./src/Engine
-I./output/UNIX/include -DHAVE_POSIX -DHAVE_VASPRINTF -DHAVE_HTTP
-DEYE_CANDY -D_GLIBCXX_ASSERTIONS -DHAVE_LINUX_NET_WIFI -isystem
/usr/lib64/pkgconfig/../../include/dbus-1.0 -isystem
/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I./src/Terrain/jasper/..
-DENABLE_ALSA -DUSE_FREETYPE -DENABLE_OPENGL -DHAVE_GLES -DHAVE_GLES2
-isystem lib/glm -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_X11 -DUSE_POLL_EVENT
-isystem /usr/include/freetype2 -isystem /usr/include/libpng16
-DWITH_GZFILEOP -isystem /usr/include/harfbuzz -isystem
/usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem
/usr/include/sysprof-6 -pthread -isystem /usr/include/libpng16
-DWITH_GZFILEOP -DENABLE_OPENGL -DHAVE_GLES -DHAVE_GLES2 -isystem lib/glm
-DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_X11 -isystem /usr/include/webp
-DWITH_GZFILEOP -DUSE_LIBTIFF -DUSE_GEOTIFF -isystem /usr/include/geotiff
-DENABLE_OPENGL -DHAVE_GLES -DHAVE_GLES2 -isystem lib/glm
-DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_X11 -DUSE_POLL_EVENT -DUSE_POLL_EVENT
-DBOOST_JSON_STANDALONE -DWITH_GZFILEOP -DWITH_GZFILEOP -DZLIB_CONST


Thanks,
Ken
_______________________________________________
Xcsoar-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcsoar-user

Reply via email to