=> Building extremetuxracer:std (version 0.8.4) Started : Friday, 10 JAN 2025 at 13:24:26 UTC Platform: 6.4-RAVEN DragonFly 6.4-RAVEN #0 Sat Jul 29 09:00:00 CDT 2017 root@octavia.unreal.systems:/usr/obj/usr/src/sys/GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- PATH=/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin SKIP_INFO_SUBPKG=false SKIP_DEV_SUBPKG=false KEYWORDS_DIR=/xports/Mk/Keywords RVN_CACHEDIR=/var/cache/rvn RVN_DBDIR=/var/db/rvn SSL_VARIANT=libressl RAVENADM=building XML_CATALOG_FILES=/raven/share/xml/catalog SGML_CATALOG_FILES=/raven/share/sgml/docbook/catalog HOME=/root USER=root SHELL=/bin/sh TERM=dumb LANG=C -------------------------------------------------- -- Options -------------------------------------------------- This port has no build options. -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- CONFIG_SITE=/xports/Mk/Templates/config.site ADA_PROJECT_PATH="/raven/share/gpr" F77="gfortran" FC="gfortran" CCACHE_DIR="/ccache" PATH=/usr/libexec:/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/raven --disable-dependency-tracking ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" PREFIX=/raven LOCALBASE=/raven OPSYS="DragonFly" CC="cc" CFLAGS="-pipe -O2 -I/raven/include" CPP="cpp" CPPFLAGS="-I/raven/include" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-pipe -O2 -I/raven/include" STD_DOCDIR="/raven/share/doc/extremetuxracer" STD_EXAMPLESDIR="/raven/share/examples/extremetuxracer" MANPREFIX="/raven/share" ADA_PROJECT_PATH="/raven/share/gpr" F77="gfortran" FC="gfortran" CCACHE_DIR="/ccache" PATH=/usr/libexec:/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/extremetuxracer/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OPSYS=DragonFly ONLY-DRAGONFLY="" ASLIB="lib" EXCLUDE-DARWIN="" LIBEXT="so" SHARED_OBJECT="so" ONLY-FREEBSD="@comment " ONLY-NETBSD="@comment " ONLY-LINUX="@comment " ONLY-SUNOS="@comment " ONLY-DARWIN="@comment " ONLY-MIDNIGHTBSD="@comment " -------------------------------------------------- -- SUB_LIST -------------------------------------------------- LOCALBASE=/raven PREFIX=/raven ETCDIR=/raven/etc/extremetuxracer -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- RAVENPROFILE=tilde RAVENBASE=/raven WRKDIRPREFIX=/construction DISTDIR=/distfiles NUMBER_CPUS=24 MAKE_JOBS_NUMBER_LIMIT=10 DEVELOPER=1 PATCH_DEBUG=yes BUILD_WITH_CCACHE=yes CCACHE_DIR=/ccache -------------------------------------------------------------------------------- -- Phase: dependencies -------------------------------------------------------------------------------- Reference checksum obtained from the local repository Downloaded and verified catalog.rvn from the local repository Catalog update completed. 52 packages processed. The latest versions of the requested packages are already cached. The following packages will be installed: 1. | | | | | | | |` libiconv~primary~std~1.17_1 2. | | | | | | |` libgpg-error~primary~std~1.51 3. | | | | | |` libgcrypt~primary~std~1.11.0_1 4. | | | | | |` libxml2~primary~std~2.13.5 5. | | | | |` libxslt~primary~std~1.1.42 6. | | | | |` xorg-xdmcp~primary~std~1.1.5 7. | | | | |` xorg-xau~primary~std~1.0.12 8. | | | |` xorg-xcb~primary~std~1.17.0 9. | | |` xorg-x11~primary~std~1.8.10 10. | |` xorg-xext~primary~std~1.3.6 11. | |` xorg-xrender~primary~std~0.9.12 12. |` xorg-xrandr~primary~std~1.5.4 13. | |` xorg-xfixes~primary~std~6.0.1 14. |` xorg-xi~primary~std~1.8.2 15. |` xorg-xcursor~primary~std~1.2.3 16. |` libglvnd~primary~std~1.7.0_1 17. | | |` ravensys-gcc~libs~std~14.2.0 18. | |` ravensys-gcc~cxx_run~std~14.2.0 19. | |` zlib~primary~std~1.3.1 20. | |` sndio~primary~std~1.10.0_1 21. |` openal~primary~std~1.24.1 22. | |` bzip2~primary~std~1.0.8_1 23. |` freetype~primary~std~2.13.3 24. | |` libogg~primary~std~1.3.5_1 25. |` flac~primary~std~1.4.3_3 26. |` libvorbis~primary~std~1.3.7_1 27. |` jpeg-turbo~primary~std~3.1.0 28. sfml~primary~std~3.0.0 29. libGLU~primary~std~9.0.3 30. | |` gettext~primary~std~0.22.5 31. | |` libffi~primary~std~3.4.6 32. | |` pcre2~primary~std~10.44 33. |` glib~primary~std~2.82.4_1 34. |` gettext~tools~std~0.22.5 35. desktop-file-utils~primary~std~0.28 36. | |` libogg~dev~std~1.3.5_1 37. |` libvorbis~dev~std~1.3.7_1 38. |` flac~dev~std~1.4.3_3 39. |` openal~dev~std~1.24.1 40. sfml~dev~std~3.0.0 41. | |` xorg-xau~dev~std~1.0.12 42. | |` xorg-xdmcp~dev~std~1.1.5 43. |` xorg-xcb~dev~std~1.17.0 44. |` xorg-xorgproto~single~std~2024.1 45. xorg-x11~dev~std~1.8.10 46. |` zlib~dev~std~1.3.1 47. |` bzip2~dev~std~1.0.8_1 48. freetype~dev~std~2.13.3 49. |` libglvnd~dev~std~1.7.0_1 50. libGLU~dev~std~9.0.3 51. xorg-macros~single~std~1.20.1 52. pkgconf~primary~std~2.3.0 Disk space required to install these packages: 56 MiB [01/52] | | | | | | | |` libiconv~primary~std~1.17_1 [ok] [02/52] | | | | | | |` libgpg-error~primary~std~1.51 [ok] [03/52] | | | | | |` libgcrypt~primary~std~1.11.0_1 [ok] [04/52] | | | | | |` libxml2~primary~std~2.13.5 [ok] [05/52] | | | | |` libxslt~primary~std~1.1.42 [ok] [06/52] | | | | |` xorg-xdmcp~primary~std~1.1.5 [ok] [07/52] | | | | |` xorg-xau~primary~std~1.0.12 [ok] [08/52] | | | |` xorg-xcb~primary~std~1.17.0 [ok] [09/52] | | |` xorg-x11~primary~std~1.8.10 [ok] [10/52] | |` xorg-xext~primary~std~1.3.6 [ok] [11/52] | |` xorg-xrender~primary~std~0.9.12 [ok] [12/52] |` xorg-xrandr~primary~std~1.5.4 [ok] [13/52] | |` xorg-xfixes~primary~std~6.0.1 [ok] [14/52] |` xorg-xi~primary~std~1.8.2 [ok] [15/52] |` xorg-xcursor~primary~std~1.2.3 [ok] [16/52] |` libglvnd~primary~std~1.7.0_1 [ok] [17/52] | | |` ravensys-gcc~libs~std~14.2.0 [ok] [18/52] | |` ravensys-gcc~cxx_run~std~14.2.0 [ok] [19/52] | |` zlib~primary~std~1.3.1 [ok] [20/52] | |` sndio~primary~std~1.10.0_1 [ok] [21/52] |` openal~primary~std~1.24.1 [ok] [22/52] | |` bzip2~primary~std~1.0.8_1 [ok] [23/52] |` freetype~primary~std~2.13.3 [ok] [24/52] | |` libogg~primary~std~1.3.5_1 [ok] [25/52] |` flac~primary~std~1.4.3_3 [ok] [26/52] |` libvorbis~primary~std~1.3.7_1 [ok] [27/52] |` jpeg-turbo~primary~std~3.1.0 [ok] [28/52] sfml~primary~std~3.0.0 [ok] [29/52] libGLU~primary~std~9.0.3 [ok] [30/52] | |` gettext~primary~std~0.22.5 [ok] [31/52] | |` libffi~primary~std~3.4.6 [ok] [32/52] | |` pcre2~primary~std~10.44 [ok] [33/52] |` glib~primary~std~2.82.4_1 [ok] [34/52] |` gettext~tools~std~0.22.5 [ok] [35/52] desktop-file-utils~primary~std~0.28 [ok] [36/52] | |` libogg~dev~std~1.3.5_1 [ok] [37/52] |` libvorbis~dev~std~1.3.7_1 [ok] [38/52] |` flac~dev~std~1.4.3_3 [ok] [39/52] |` openal~dev~std~1.24.1 [ok] [40/52] sfml~dev~std~3.0.0 [ok] [41/52] | |` xorg-xau~dev~std~1.0.12 [ok] [42/52] | |` xorg-xdmcp~dev~std~1.1.5 [ok] [43/52] |` xorg-xcb~dev~std~1.17.0 [ok] [44/52] |` xorg-xorgproto~single~std~2024.1 [ok] [45/52] xorg-x11~dev~std~1.8.10 [ok] [46/52] |` zlib~dev~std~1.3.1 [ok] [47/52] |` bzip2~dev~std~1.0.8_1 [ok] [48/52] freetype~dev~std~2.13.3 [ok] [49/52] |` libglvnd~dev~std~1.7.0_1 [ok] [50/52] libGLU~dev~std~9.0.3 [ok] [51/52] xorg-macros~single~std~1.20.1 [ok] [52/52] pkgconf~primary~std~2.3.0 [ok] freetype~primary~std installation messages ------------------------------- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents. desktop-file-utils~primary~std Lua script messages ----------------------- Building cache database of MIME types Triggered: Generating GIO modules cache Triggered: Compiling glib schemas No schema files found: doing nothing. Triggered: Building cache database of MIME types -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching for extremetuxracer:std -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching for extremetuxracer:std ===> Extracting for extremetuxracer:std => SHA256 Checksum OK for etr-0.8.4.tar.xz. ===> Extracting license terms from /construction/extremetuxracer/etr-0.8.4/src/main.cpp ===> Assembling package metadata files (single) -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for extremetuxracer:std -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for extremetuxracer:std ==> cd /construction/extremetuxracer/etr-0.8.4 && /usr/bin/env CC="cc" CPP="cpp" CXX="c++" CFLAGS="-pipe -O2 -I/raven/include" CPPFLAGS="-I/raven/include" CXXFLAGS="-pipe -O2 -I/raven/include" LDFLAGS="" LIBS="" INSTALL="/usr/bin/install -c" INSTALL_DATA="install -m 0644" INSTALL_LIB="install -s -m 444" INSTALL_PROGRAM="install -s -m 555" INSTALL_SCRIPT="install -m 555" CONFIG_SITE=/xports/Mk/Templates/config.site ADA_PROJECT_PATH=/raven/share/gpr F77=gfortran FC=gfortran CCACHE_DIR=/ccache PATH=/usr/libexec:/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin ./configure --prefix=/raven --disable-dependency-tracking configure: loading site script /xports/Mk/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-raven-dragonfly6.4 checking host system type... x86_64-raven-dragonfly6.4 checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether c++ accepts -g... yes checking for c++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of c++... none checking for gcc... cc checking whether the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... (cached) yes checking for inline... inline checking for size_t... yes checking for GNU libc compatible malloc... yes checking for floor... no checking for getcwd... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for pow... no checking for sqrt... no checking for strchr... yes checking for strdup... yes checking for pkg-config... /raven/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for sfml-system >= 2.4... yes checking for sfml-audio >= 2.4... yes checking for sfml-window >= 2.4... yes checking for sfml-graphics >= 2.4... yes checking for gluBeginCurve in -lGLU... yes checking for glBegin in -lOpenGL... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating build/Makefile config.status: creating build/Installer/Makefile config.status: creating data/Makefile config.status: creating data/char/Makefile config.status: creating data/char/beastie/Makefile config.status: creating data/char/boris/Makefile config.status: creating data/char/samuel/Makefile config.status: creating data/char/trixi/Makefile config.status: creating data/char/tux/Makefile config.status: creating data/courses/Makefile config.status: creating data/courses/default/Makefile config.status: creating data/courses/default/bumpy_ride/Makefile config.status: creating data/courses/default/bunny_hill/Makefile config.status: creating data/courses/default/challenge_one/Makefile config.status: creating data/courses/default/chinese_wall/Makefile config.status: creating data/courses/default/chragis_gagiwaetter/Makefile config.status: creating data/courses/default/downhill_fear/Makefile config.status: creating data/courses/default/explore_mountains/Makefile config.status: creating data/courses/default/frozen_lakes/Makefile config.status: creating data/courses/default/frozen_river/Makefile config.status: creating data/courses/default/hippo_run/Makefile config.status: creating data/courses/default/holygrail/Makefile config.status: creating data/courses/default/in_search_of_vodka/Makefile config.status: creating data/courses/default/keep_country_tidy/Makefile config.status: creating data/courses/default/milos_castle/Makefile config.status: creating data/courses/default/path_of_daggers/Makefile config.status: creating data/courses/default/penguins_cant_fly/Makefile config.status: creating data/courses/default/quiet_river/Makefile config.status: creating data/courses/default/secret_valleys/Makefile config.status: creating data/courses/default/this_means_something/Makefile config.status: creating data/courses/default/tux_at_home/Makefile config.status: creating data/courses/default/twisty_slope/Makefile config.status: creating data/courses/default/wild_mountains/Makefile config.status: creating data/courses/extras/Makefile config.status: creating data/courses/extras/bronze_set/Makefile config.status: creating data/courses/extras/comepeces/Makefile config.status: creating data/courses/extras/desperation/Makefile config.status: creating data/courses/extras/el_reto/Makefile config.status: creating data/courses/extras/follow_white_rabbit/Makefile config.status: creating data/courses/extras/herrings_half_pipe/Makefile config.status: creating data/courses/extras/i_like_spike_2/Makefile config.status: creating data/courses/extras/inception/Makefile config.status: creating data/courses/extras/laberinto/Makefile config.status: creating data/courses/extras/penguins_day/Makefile config.status: creating data/courses/extras/pygoscelis_adeliae/Makefile config.status: creating data/courses/extras/rock_n_roll/Makefile config.status: creating data/courses/extras/slide_or_fly/Makefile config.status: creating data/courses/extras/snow_run_1/Makefile config.status: creating data/courses/extras/snow_run_2/Makefile config.status: creating data/courses/extras/the_long_ride/Makefile config.status: creating data/courses/extras/touch_the_moon/Makefile config.status: creating data/courses/extras/touristic_ride/Makefile config.status: creating data/courses/extras/tuxway/Makefile config.status: creating data/courses/extras/twists/Makefile config.status: creating data/courses/extras/wild_ride/Makefile config.status: creating data/courses/extras/wild_west_chute_out/Makefile config.status: creating data/env/Makefile config.status: creating data/env/etr/Makefile config.status: creating data/env/etr/cloudy/Makefile config.status: creating data/env/etr/evening/Makefile config.status: creating data/env/etr/night/Makefile config.status: creating data/env/etr/sunny/Makefile config.status: creating data/env/tuxracer/Makefile config.status: creating data/env/tuxracer/cloudy/Makefile config.status: creating data/env/tuxracer/evening/Makefile config.status: creating data/env/tuxracer/night/Makefile config.status: creating data/env/tuxracer/sunny/Makefile config.status: creating data/fonts/Makefile config.status: creating data/music/Makefile config.status: creating data/objects/Makefile config.status: creating data/players/Makefile config.status: creating data/sounds/Makefile config.status: creating data/terrains/Makefile config.status: creating data/textures/Makefile config.status: creating data/translations/Makefile config.status: creating doc/Makefile config.status: creating resources/Makefile config.status: creating resources/gui/Makefile config.status: creating etr_config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for extremetuxracer:std ==> Set environment: BSD_INSTALL_PROGRAM=install -s -m 555 BSD_INSTALL_LIB=install -s -m 444 BSD_INSTALL_SCRIPT=install -m 555 BSD_INSTALL_DATA=install -m 0644 BSD_INSTALL_MAN=install -m 444 PREFIX=/raven LOCALBASE=/raven OPSYS=DragonFly CC=cc CFLAGS=-pipe -O2 -I/raven/include CPP=cpp CPPFLAGS=-I/raven/include LDFLAGS= LIBS= CXX=c++ CXXFLAGS=-pipe -O2 -I/raven/include STD_DOCDIR=/raven/share/doc/extremetuxracer STD_EXAMPLESDIR=/raven/share/examples/extremetuxracer MANPREFIX=/raven/share ==> cd /construction/extremetuxracer/etr-0.8.4; /usr/bin/make -f Makefile -j10 all --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- audio.o --- --- common.o --- --- config_screen.o --- --- course.o --- --- course_render.o --- --- credits.o --- --- env.o --- --- event.o --- --- event_select.o --- --- font.o --- --- audio.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o audio.o audio.cpp --- common.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o common.o common.cpp --- config_screen.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o config_screen.o config_screen.cpp --- course.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o course.o course.cpp --- course_render.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o course_render.o course_render.cpp --- credits.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o credits.o credits.cpp --- env.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o env.o env.cpp --- event.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o event.o event.cpp --- event_select.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o event_select.o event_select.cpp --- font.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include -I/raven/include/freetype2 -DETR_DATA_DIR=\"/raven/share\" -pipe -O2 -I/raven/include -std=c++14 -c -o font.o font.cpp --- common.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from common.h:21, from common.cpp:22: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:34:41: note: in expansion of macro 'TColor' 34 | const sf::Color colDYell = TColor(1.0, 0.8, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:35:41: note: in expansion of macro 'TColor' 35 | const sf::Color colDDYell = TColor(0.8, 0.6, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:36:41: note: in expansion of macro 'TColor' 36 | const sf::Color colLYell = TColor(1.0, 1.0, 0.4, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:37:41: note: in expansion of macro 'TColor' 37 | const sf::Color colOrange = TColor(1.0, 0.5, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:38:41: note: in expansion of macro 'TColor' 38 | const sf::Color colLRed = TColor(1.0, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:39:41: note: in expansion of macro 'TColor' 39 | const sf::Color colDRed = TColor(0.8, 0.0, 0.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:40:41: note: in expansion of macro 'TColor' 40 | const sf::Color colGrey = TColor(0.5, 0.5, 0.5, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:41:41: note: in expansion of macro 'TColor' 41 | const sf::Color colLGrey = TColor(0.7, 0.7, 0.7, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:42:41: note: in expansion of macro 'TColor' 42 | const sf::Color colDGrey = TColor(0.3, 0.3, 0.3, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:43:41: note: in expansion of macro 'TColor' 43 | const sf::Color colLBlue = TColor(0.5, 0.7, 1.0, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:44:41: note: in expansion of macro 'TColor' 44 | const sf::Color colDBlue = TColor(0.0, 0.0, 0.6, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:45:33: note: in expansion of macro 'TColor' 45 | const sf::Color colLBackgr = TColor(0.5, 0.7, 0.9, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:46:41: note: in expansion of macro 'TColor' 46 | const sf::Color colBackgr = TColor(0.4, 0.6, 0.8, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:47:33: note: in expansion of macro 'TColor' 47 | const sf::Color colMBackgr = TColor(0.35, 0.5, 0.7, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:48:33: note: in expansion of macro 'TColor' 48 | const sf::Color colDBackgr = TColor(0.2, 0.3, 0.6, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:49:33: note: in expansion of macro 'TColor' 49 | const sf::Color colDDBackgr = TColor(0.13, 0.2, 0.4, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:50:41: note: in expansion of macro 'TColor' 50 | const sf::Color colTBackr = TColor(0.4, 0.6, 0.8, 0.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:51:41: note: in expansion of macro 'TColor' 51 | const sf::Color colMess = TColor(0.3, 0.3, 0.7, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' is not a member of 'sf' 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:37: error: expected primary-expression before '(' token 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:54: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:85: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:116: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ common.cpp:33:147: error: 'Uint8' in namespace 'sf' does not name a type 33 | #define TColor(r, g, b, a) sf::Color(static_cast(r*255), static_cast(g*255), static_cast(b*255), static_cast(a*255)) | ^~~~~ common.cpp:52:41: note: in expansion of macro 'TColor' 52 | const sf::Color colSky = TColor(0.82, 0.86, 0.88, 1.0); | ^~~~~~ *** [common.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- credits.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from credits.h:20, from credits.cpp:21: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ In file included from credits.cpp:29: winsys.h: In member function 'bool CWinsys::PollEvent(sf::Event&)': winsys.h:65:58: error: 'class sf::RenderWindow' has no member named 'pollEvent' 65 | bool PollEvent(sf::Event& event) { return window.pollEvent(event); } | ^~~~~~~~~ credits.cpp: At global scope: credits.cpp:42:25: error: 'Quads' is not a member of 'sf' 42 | sf::VertexArray arr(sf::Quads, 12); | ^~~~~ credits.cpp: In member function 'void CCredits::DrawCreditsText(float)': credits.cpp:75:18: error: no matching function for call to 'sf::Text::Text()' 75 | sf::Text text; | ^~~~ In file included from /raven/include/SFML/Graphics.hpp:50: /raven/include/SFML/Graphics/Text.hpp:87:5: note: candidate: 'sf::Text::Text(const sf::Font&, sf::String, unsigned int)' 87 | Text(const Font& font, String string = "", unsigned int characterSize = 30); | ^~~~ /raven/include/SFML/Graphics/Text.hpp:87:5: note: candidate expects 3 arguments, 0 provided /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate: 'sf::Text::Text(const sf::Text&)' 56 | class SFML_GRAPHICS_API Text : public Drawable, public Transformable | ^~~~ /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate expects 1 argument, 0 provided /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate: 'sf::Text::Text(sf::Text&&)' /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate expects 1 argument, 0 provided credits.cpp:92:83: error: 'using sf::FloatRect = class sf::Rect' {aka 'class sf::Rect'} has no member named 'width' 92 | text.setPosition((Winsys.resolution.width - text.getLocalBounds().width) / 2, offs); | ^~~~~ credits.cpp: In member function 'virtual void CCredits::Keyb(sf::Keyboard::Key, bool, int, int)': credits.cpp:105:36: error: 'M' is not a member of 'sf::Keyboard' 105 | case sf::Keyboard::M: | ^ credits.cpp:105:36: note: suggested alternatives: In file included from /raven/include/SFML/Window/Event.hpp:31: /raven/include/SFML/Window/Keyboard.hpp:187:5: note: 'sf::Keyboard::Scan::M' 187 | M, //!< Keyboard m and M key | ^ /raven/include/SFML/Window/Keyboard.hpp:187:5: note: 'sf::Keyboard::Scan::M' /raven/include/SFML/Window/Keyboard.hpp:66:5: note: 'sf::Keyboard::Key::M' 66 | M, //!< The M key | ^ credits.cpp:108:36: error: 'U' is not a member of 'sf::Keyboard' 108 | case sf::Keyboard::U: | ^ credits.cpp:108:36: note: suggested alternatives: In file included from /raven/include/SFML/Window/Event.hpp:30: /raven/include/SFML/Window/Joystick.hpp:60:5: note: 'sf::Joystick::Axis::U' 60 | U, //!< The U axis | ^ /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' 195 | U, //!< Keyboard u and U key | ^ /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' /raven/include/SFML/Window/Keyboard.hpp:74:5: note: 'sf::Keyboard::Key::U' 74 | U, //!< The U key | ^ credits.cpp: In member function 'virtual void CCredits::Enter()': credits.cpp:131:13: error: 'class sf::RenderTexture' has no member named 'create' 131 | RT->create(Winsys.resolution.width, Winsys.resolution.height - TOP_Y - BOTT_Y + 2 * FADE); | ^~~~~~ credits.cpp:135:89: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 135 | arr[0] = sf::Vertex(sf::Vector2f(0, TOP_Y - FADE), colTBackr, sf::Vector2f(0, 0)); | ^ In file included from /raven/include/SFML/Graphics/VertexArray.hpp:36, from /raven/include/SFML/Graphics/Shape.hpp:38: /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:136:84: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 136 | arr[1] = sf::Vertex(sf::Vector2f(0, TOP_Y), colWhite, sf::Vector2f(0, FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:137:84: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 137 | arr[2] = sf::Vertex(sf::Vector2f(w, TOP_Y), colWhite, sf::Vector2f(w, FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:138:89: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 138 | arr[3] = sf::Vertex(sf::Vector2f(w, TOP_Y - FADE), colTBackr, sf::Vector2f(w, 0)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:140:84: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 140 | arr[4] = sf::Vertex(sf::Vector2f(0, TOP_Y), colWhite, sf::Vector2f(0, FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:141:107: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 141 | arr[5] = sf::Vertex(sf::Vector2f(0, h - BOTT_Y), colWhite, sf::Vector2f(0, RT->getSize().y - FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:142:107: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 142 | arr[6] = sf::Vertex(sf::Vector2f(w, h - BOTT_Y), colWhite, sf::Vector2f(w, RT->getSize().y - FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:143:84: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 143 | arr[7] = sf::Vertex(sf::Vector2f(w, TOP_Y), colWhite, sf::Vector2f(w, FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:145:107: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 145 | arr[8] = sf::Vertex(sf::Vector2f(0, h - BOTT_Y), colWhite, sf::Vector2f(0, RT->getSize().y - FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:146:108: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 146 | arr[9] = sf::Vertex(sf::Vector2f(0, h - BOTT_Y + FADE), colTBackr, sf::Vector2f(0, RT->getSize().y)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:147:109: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 147 | arr[10] = sf::Vertex(sf::Vector2f(w, h - BOTT_Y + FADE), colTBackr, sf::Vector2f(w, RT->getSize().y)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided credits.cpp:148:108: error: no matching function for call to 'sf::Vertex::Vertex(sf::Vector2f, const sf::Color&, sf::Vector2f)' 148 | arr[11] = sf::Vertex(sf::Vector2f(w, h - BOTT_Y), colWhite, sf::Vector2f(w, RT->getSize().y - FADE)); | ^ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex()' 43 | struct Vertex | ^~~~~~ /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 0 arguments, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(const sf::Vertex&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate: 'constexpr sf::Vertex::Vertex(sf::Vertex&&)' /raven/include/SFML/Graphics/Vertex.hpp:43:8: note: candidate expects 1 argument, 3 provided --- env.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from env.h:21, from env.cpp:22: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ env.cpp: In member function 'void CEnvironment::LoadSkybox(const std::string&, bool)': env.cpp:159:56: error: use of deleted function 'TTexture::TTexture()' 159 | Skybox = new TTexture[param.full_skybox ? 6 : 3]; | ^ In file included from env.cpp:24: textures.h:64:7: note: 'TTexture::TTexture()' is implicitly deleted because the default definition would be ill-formed: 64 | class TTexture { | ^~~~~~~~ textures.h: At global scope: textures.h:64:7: error: call of overloaded 'Texture()' is ambiguous /raven/include/SFML/Graphics/Texture.hpp:114:14: note: candidate: 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:66:5: note: candidate: 'sf::Texture::Texture()' 66 | Texture(); | ^~~~~~~ env.cpp: In member function 'void CEnvironment::LoadSkybox(const std::string&, bool)': env.cpp:159:56: note: use '-fdiagnostics-all-candidates' to display considered candidates 159 | Skybox = new TTexture[param.full_skybox ? 6 : 3]; | ^ --- credits.o --- *** [credits.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- env.o --- *** [env.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- course_render.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from textures.h:21, from course_render.cpp:22: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ *** [course_render.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- event.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from event.h:21, from event.cpp:22: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ In file included from event.cpp:37: winsys.h: In member function 'bool CWinsys::PollEvent(sf::Event&)': winsys.h:65:58: error: 'class sf::RenderWindow' has no member named 'pollEvent' 65 | bool PollEvent(sf::Event& event) { return window.pollEvent(event); } | ^~~~~~~~~ event.cpp: In member function 'virtual void CEvent::Keyb(sf::Keyboard::Key, bool, int, int)': event.cpp:70:36: error: 'Return' is not a member of 'sf::Keyboard' 70 | case sf::Keyboard::Return: | ^~~~~~ event.cpp:74:36: error: 'Escape' is not a member of 'sf::Keyboard' 74 | case sf::Keyboard::Escape: | ^~~~~~ event.cpp:74:36: note: suggested alternatives: In file included from /raven/include/SFML/Window/Event.hpp:31: /raven/include/SFML/Window/Keyboard.hpp:212:5: note: 'sf::Keyboard::Scan::Escape' 212 | Escape, //!< Keyboard Escape key | ^~~~~~ /raven/include/SFML/Window/Keyboard.hpp:212:5: note: 'sf::Keyboard::Scan::Escape' /raven/include/SFML/Window/Keyboard.hpp:90:5: note: 'sf::Keyboard::Key::Escape' 90 | Escape, //!< The Escape key | ^~~~~~ event.cpp:77:36: error: 'U' is not a member of 'sf::Keyboard' 77 | case sf::Keyboard::U: | ^ event.cpp:77:36: note: suggested alternatives: In file included from /raven/include/SFML/Window/Event.hpp:30: /raven/include/SFML/Window/Joystick.hpp:60:5: note: 'sf::Joystick::Axis::U' 60 | U, //!< The U axis | ^ /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' 195 | U, //!< Keyboard u and U key | ^ /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' /raven/include/SFML/Window/Keyboard.hpp:74:5: note: 'sf::Keyboard::Key::U' 74 | U, //!< The U key | ^ *** [event.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- font.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from font.h:22, from font.cpp:23: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ In file included from font.cpp:26: winsys.h: In member function 'bool CWinsys::PollEvent(sf::Event&)': winsys.h:65:58: error: 'class sf::RenderWindow' has no member named 'pollEvent' 65 | bool PollEvent(sf::Event& event) { return window.pollEvent(event); } | ^~~~~~~~~ font.cpp: In member function 'int CFont::LoadFont(const std::string&, const std::string&)': font.cpp:112:38: error: call of overloaded 'Font()' is ambiguous 112 | fonts.push_back(new sf::Font()); | ^ /raven/include/SFML/Graphics/Font.hpp:103:14: note: candidate: 'sf::Font::Font(...)' 103 | explicit Font(const std::filesystem::path& filename); | ^~~~ /raven/include/SFML/Graphics/Font.hpp:81:5: note: candidate: 'sf::Font::Font()' 81 | Font() = default; | ^~~~ font.cpp:113:28: error: 'class sf::Font' has no member named 'loadFromFile'; did you mean 'openFromFile'? 113 | if (!fonts.back()->loadFromFile(path)) { | ^~~~~~~~~~~~ | openFromFile font.cpp: In member function 'bool CFont::LoadFontlist()': font.cpp:129:46: error: call of overloaded 'Font()' is ambiguous 129 | fonts.push_back(new sf::Font()); // Insert an empty font, otherwise ETR will crash | ^ /raven/include/SFML/Graphics/Font.hpp:103:14: note: candidate: 'sf::Font::Font(...)' 103 | explicit Font(const std::filesystem::path& filename); | ^~~~ /raven/include/SFML/Graphics/Font.hpp:81:5: note: candidate: 'sf::Font::Font()' 81 | Font() = default; | ^~~~ font.cpp: In member function 'void CFont::DrawText(float, float, const sf::String&, std::size_t, unsigned int) const': font.cpp:198:47: error: no matching function for call to 'sf::Text::Text(const sf::String&, sf::Font&, unsigned int&)' 198 | sf::Text temp(text, *fonts[font], size); | ^ In file included from /raven/include/SFML/Graphics.hpp:50: /raven/include/SFML/Graphics/Text.hpp:87:5: note: candidate: 'sf::Text::Text(const sf::Font&, sf::String, unsigned int)' 87 | Text(const Font& font, String string = "", unsigned int characterSize = 30); | ^~~~ /raven/include/SFML/Graphics/Text.hpp:87:22: note: no known conversion for argument 1 from 'const sf::String' to 'const sf::Font&' 87 | Text(const Font& font, String string = "", unsigned int characterSize = 30); | ~~~~~~~~~~~~^~~~ /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate: 'sf::Text::Text(const sf::Text&)' 56 | class SFML_GRAPHICS_API Text : public Drawable, public Transformable | ^~~~ /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate: 'sf::Text::Text(sf::Text&&)' /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate expects 1 argument, 3 provided font.cpp:200:70: error: 'using sf::FloatRect = class sf::Rect' {aka 'class sf::Rect'} has no member named 'width' 200 | x = (Winsys.resolution.width - temp.getLocalBounds().width) / 2; | ^~~~~ font.cpp:201:25: error: no matching function for call to 'sf::Text::setPosition(float&, float&)' 201 | temp.setPosition(x, y); | ~~~~~~~~~~~~~~~~^~~~~~ In file included from /raven/include/SFML/Graphics/Shape.hpp:37: /raven/include/SFML/Graphics/Transformable.hpp:70:10: note: candidate: 'void sf::Transformable::setPosition(sf::Vector2f)' 70 | void setPosition(Vector2f position); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Transformable.hpp:70:10: note: candidate expects 1 argument, 2 provided font.cpp: In member function 'void CFont::GetTextSize(const sf::String&, float&, float&, std::size_t, unsigned int) const': font.cpp:221:47: error: no matching function for call to 'sf::Text::Text(const sf::String&, sf::Font&, unsigned int&)' 221 | sf::Text temp(text, *fonts[font], size); | ^ /raven/include/SFML/Graphics/Text.hpp:87:5: note: candidate: 'sf::Text::Text(const sf::Font&, sf::String, unsigned int)' 87 | Text(const Font& font, String string = "", unsigned int characterSize = 30); | ^~~~ /raven/include/SFML/Graphics/Text.hpp:87:22: note: no known conversion for argument 1 from 'const sf::String' to 'const sf::Font&' 87 | Text(const Font& font, String string = "", unsigned int characterSize = 30); | ~~~~~~~~~~~~^~~~ /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate: 'sf::Text::Text(const sf::Text&)' 56 | class SFML_GRAPHICS_API Text : public Drawable, public Transformable | ^~~~ /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate expects 1 argument, 3 provided /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate: 'sf::Text::Text(sf::Text&&)' /raven/include/SFML/Graphics/Text.hpp:56:25: note: candidate expects 1 argument, 3 provided font.cpp:222:36: error: 'using sf::FloatRect = class sf::Rect' {aka 'class sf::Rect'} has no member named 'width' 222 | x = temp.getGlobalBounds().width; | ^~~~~ font.cpp:223:36: error: 'using sf::FloatRect = class sf::Rect' {aka 'class sf::Rect'} has no member named 'height' 223 | y = temp.getGlobalBounds().height; | ^~~~~~ *** [font.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- event_select.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from course.h:21, from event_select.cpp:22: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ In file included from event_select.cpp:34: winsys.h: In member function 'bool CWinsys::PollEvent(sf::Event&)': winsys.h:65:58: error: 'class sf::RenderWindow' has no member named 'pollEvent' 65 | bool PollEvent(sf::Event& event) { return window.pollEvent(event); } | ^~~~~~~~~ event_select.cpp: In member function 'virtual void CEventSelect::Keyb(sf::Keyboard::Key, bool, int, int)': event_select.cpp:56:36: error: 'Escape' is not a member of 'sf::Keyboard' 56 | case sf::Keyboard::Escape: | ^~~~~~ event_select.cpp:56:36: note: suggested alternatives: In file included from /raven/include/SFML/Window/Event.hpp:31: /raven/include/SFML/Window/Keyboard.hpp:212:5: note: 'sf::Keyboard::Scan::Escape' 212 | Escape, //!< Keyboard Escape key | ^~~~~~ /raven/include/SFML/Window/Keyboard.hpp:212:5: note: 'sf::Keyboard::Scan::Escape' /raven/include/SFML/Window/Keyboard.hpp:90:5: note: 'sf::Keyboard::Key::Escape' 90 | Escape, //!< The Escape key | ^~~~~~ event_select.cpp:59:36: error: 'Q' is not a member of 'sf::Keyboard' 59 | case sf::Keyboard::Q: | ^ event_select.cpp:59:36: note: suggested alternatives: /raven/include/SFML/Window/Keyboard.hpp:191:5: note: 'sf::Keyboard::Scan::Q' 191 | Q, //!< Keyboard q and Q key | ^ /raven/include/SFML/Window/Keyboard.hpp:191:5: note: 'sf::Keyboard::Scan::Q' /raven/include/SFML/Window/Keyboard.hpp:70:5: note: 'sf::Keyboard::Key::Q' 70 | Q, //!< The Q key | ^ event_select.cpp:62:36: error: 'Return' is not a member of 'sf::Keyboard' 62 | case sf::Keyboard::Return: | ^~~~~~ event_select.cpp:66:36: error: 'U' is not a member of 'sf::Keyboard' 66 | case sf::Keyboard::U: | ^ event_select.cpp:66:36: note: suggested alternatives: In file included from /raven/include/SFML/Window/Event.hpp:30: /raven/include/SFML/Window/Joystick.hpp:60:5: note: 'sf::Joystick::Axis::U' 60 | U, //!< The U axis | ^ /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' 195 | U, //!< Keyboard u and U key | ^ /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' /raven/include/SFML/Window/Keyboard.hpp:74:5: note: 'sf::Keyboard::Key::U' 74 | U, //!< The U key | ^ *** [event_select.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- config_screen.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from config_screen.h:20, from config_screen.cpp:42: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ In file included from config_screen.cpp:50: winsys.h: In member function 'bool CWinsys::PollEvent(sf::Event&)': winsys.h:65:58: error: 'class sf::RenderWindow' has no member named 'pollEvent' 65 | bool PollEvent(sf::Event& event) { return window.pollEvent(event); } | ^~~~~~~~~ config_screen.cpp: In member function 'virtual void CGameConfig::Keyb(sf::Keyboard::Key, bool, int, int)': config_screen.cpp:100:36: error: 'U' is not a member of 'sf::Keyboard' 100 | case sf::Keyboard::U: | ^ config_screen.cpp:100:36: note: suggested alternatives: In file included from /raven/include/SFML/Window/Event.hpp:30: /raven/include/SFML/Window/Joystick.hpp:60:5: note: 'sf::Joystick::Axis::U' 60 | U, //!< The U axis | ^ In file included from /raven/include/SFML/Window/Event.hpp:31: /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' 195 | U, //!< Keyboard u and U key | ^ /raven/include/SFML/Window/Keyboard.hpp:195:5: note: 'sf::Keyboard::Scan::U' /raven/include/SFML/Window/Keyboard.hpp:74:5: note: 'sf::Keyboard::Key::U' 74 | U, //!< The U key | ^ config_screen.cpp:103:36: error: 'Escape' is not a member of 'sf::Keyboard' 103 | case sf::Keyboard::Escape: | ^~~~~~ config_screen.cpp:103:36: note: suggested alternatives: /raven/include/SFML/Window/Keyboard.hpp:212:5: note: 'sf::Keyboard::Scan::Escape' 212 | Escape, //!< Keyboard Escape key | ^~~~~~ /raven/include/SFML/Window/Keyboard.hpp:212:5: note: 'sf::Keyboard::Scan::Escape' /raven/include/SFML/Window/Keyboard.hpp:90:5: note: 'sf::Keyboard::Key::Escape' 90 | Escape, //!< The Escape key | ^~~~~~ config_screen.cpp:106:36: error: 'Return' is not a member of 'sf::Keyboard' 106 | case sf::Keyboard::Return: | ^~~~~~ *** [config_screen.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- audio.o --- In file included from /raven/include/SFML/Audio/InputSoundFile.hpp:32, from /raven/include/SFML/Audio.hpp:31, from audio.cpp:21: /raven/include/SFML/Audio/SoundFileReader.hpp:81:32: error: 'optional' in namespace 'std' does not name a template type 81 | [[nodiscard]] virtual std::optional open(InputStream& stream) = 0; | ^~~~~~~~ /raven/include/SFML/Audio/SoundFileReader.hpp:81:27: note: 'std::optional' is only available from C++17 onwards 81 | [[nodiscard]] virtual std::optional open(InputStream& stream) = 0; | ^~~ /raven/include/SFML/Audio/InputSoundFile.hpp:79:40: error: 'filesystem' in namespace 'std' does not name a type 79 | explicit InputSoundFile(const std::filesystem::path& filename); | ^~~~~~~~~~ /raven/include/SFML/Audio/InputSoundFile.hpp:79:56: error: expected unqualified-id before '&' token 79 | explicit InputSoundFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/InputSoundFile.hpp:79:56: error: expected ')' before '&' token 79 | explicit InputSoundFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/InputSoundFile.hpp:79:56: error: constructors may not be ref-qualified /raven/include/SFML/Audio/InputSoundFile.hpp:79:56: error: expected ';' at end of member declaration 79 | explicit InputSoundFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/InputSoundFile.hpp:79:58: error: 'filename' does not name a type 79 | explicit InputSoundFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Audio/InputSoundFile.hpp:124:48: error: 'filesystem' in namespace 'std' does not name a type 124 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ /raven/include/SFML/Audio/InputSoundFile.hpp:124:64: error: expected unqualified-id before '&' token 124 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/InputSoundFile.hpp:124:64: error: expected ')' before '&' token 124 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/InputSoundFile.hpp:124:64: error: expected ';' at end of member declaration 124 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/InputSoundFile.hpp:124:66: error: 'filename' does not name a type 124 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Audio/Music.hpp:32, from /raven/include/SFML/Audio.hpp:33: /raven/include/SFML/Audio/SoundStream.hpp:286:18: error: 'optional' in namespace 'std' does not name a template type 286 | virtual std::optional onLoop(); | ^~~~~~~~ /raven/include/SFML/Audio/SoundStream.hpp:286:13: note: 'std::optional' is only available from C++17 onwards 286 | virtual std::optional onLoop(); | ^~~ /raven/include/SFML/Audio/Music.hpp:96:31: error: 'filesystem' in namespace 'std' does not name a type 96 | explicit Music(const std::filesystem::path& filename); | ^~~~~~~~~~ /raven/include/SFML/Audio/Music.hpp:96:47: error: expected unqualified-id before '&' token 96 | explicit Music(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/Music.hpp:96:47: error: expected ')' before '&' token 96 | explicit Music(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/Music.hpp:96:47: error: constructors may not be ref-qualified /raven/include/SFML/Audio/Music.hpp:96:47: error: expected ';' at end of member declaration 96 | explicit Music(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/Music.hpp:96:49: error: 'filename' does not name a type 96 | explicit Music(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Audio/Music.hpp:179:48: error: 'filesystem' in namespace 'std' does not name a type 179 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ /raven/include/SFML/Audio/Music.hpp:179:64: error: expected unqualified-id before '&' token 179 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/Music.hpp:179:64: error: expected ')' before '&' token 179 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/Music.hpp:179:64: error: expected ';' at end of member declaration 179 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/Music.hpp:179:66: error: 'filename' does not name a type 179 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Audio/Music.hpp:304:10: error: 'optional' in namespace 'std' does not name a template type 304 | std::optional onLoop() override; | ^~~~~~~~ /raven/include/SFML/Audio/Music.hpp:304:5: note: 'std::optional' is only available from C++17 onwards 304 | std::optional onLoop() override; | ^~~ In file included from /raven/include/SFML/Audio/OutputSoundFile.hpp:33, from /raven/include/SFML/Audio.hpp:34: /raven/include/SFML/Audio/SoundFileWriter.hpp:66:48: error: 'filesystem' in namespace 'std' does not name a type 66 | [[nodiscard]] virtual bool open(const std::filesystem::path& filename, | ^~~~~~~~~~ /raven/include/SFML/Audio/SoundFileWriter.hpp:66:64: error: expected unqualified-id before '&' token 66 | [[nodiscard]] virtual bool open(const std::filesystem::path& filename, | ^ /raven/include/SFML/Audio/SoundFileWriter.hpp:66:64: error: expected ')' before '&' token 66 | [[nodiscard]] virtual bool open(const std::filesystem::path& filename, | ~ ^ | ) /raven/include/SFML/Audio/SoundFileWriter.hpp:66:64: error: expected ';' at end of member declaration 66 | [[nodiscard]] virtual bool open(const std::filesystem::path& filename, | ^ | ; /raven/include/SFML/Audio/SoundFileWriter.hpp:66:70: error: 'filename' does not name a type 66 | [[nodiscard]] virtual bool open(const std::filesystem::path& filename, | ^~~~~~~~ /raven/include/SFML/Audio/OutputSoundFile.hpp:73:32: error: 'filesystem' in namespace 'std' does not name a type 73 | OutputSoundFile(const std::filesystem::path& filename, | ^~~~~~~~~~ /raven/include/SFML/Audio/OutputSoundFile.hpp:73:48: error: expected unqualified-id before '&' token 73 | OutputSoundFile(const std::filesystem::path& filename, | ^ /raven/include/SFML/Audio/OutputSoundFile.hpp:73:48: error: expected ')' before '&' token 73 | OutputSoundFile(const std::filesystem::path& filename, | ~ ^ | ) /raven/include/SFML/Audio/OutputSoundFile.hpp:73:48: error: constructors may not be ref-qualified /raven/include/SFML/Audio/OutputSoundFile.hpp:73:48: error: expected ';' at end of member declaration 73 | OutputSoundFile(const std::filesystem::path& filename, | ^ | ; /raven/include/SFML/Audio/OutputSoundFile.hpp:73:54: error: 'filename' does not name a type 73 | OutputSoundFile(const std::filesystem::path& filename, | ^~~~~~~~ /raven/include/SFML/Audio/OutputSoundFile.hpp:91:48: error: 'filesystem' in namespace 'std' does not name a type 91 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename, | ^~~~~~~~~~ /raven/include/SFML/Audio/OutputSoundFile.hpp:91:64: error: expected unqualified-id before '&' token 91 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename, | ^ /raven/include/SFML/Audio/OutputSoundFile.hpp:91:64: error: expected ')' before '&' token 91 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename, | ~ ^ | ) /raven/include/SFML/Audio/OutputSoundFile.hpp:91:64: error: expected ';' at end of member declaration 91 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename, | ^ | ; /raven/include/SFML/Audio/OutputSoundFile.hpp:91:70: error: 'filename' does not name a type 91 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename, | ^~~~~~~~ In file included from /raven/include/SFML/Audio.hpp:35: /raven/include/SFML/Audio/PlaybackDevice.hpp:80:35: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] SFML_AUDIO_API std::optional getDefaultDevice(); | ^~~~~~~~ /raven/include/SFML/Audio/PlaybackDevice.hpp:80:30: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] SFML_AUDIO_API std::optional getDefaultDevice(); | ^~~ /raven/include/SFML/Audio/PlaybackDevice.hpp:108:35: error: 'optional' in namespace 'std' does not name a template type 108 | [[nodiscard]] SFML_AUDIO_API std::optional getDevice(); | ^~~~~~~~ /raven/include/SFML/Audio/PlaybackDevice.hpp:108:30: note: 'std::optional' is only available from C++17 onwards 108 | [[nodiscard]] SFML_AUDIO_API std::optional getDevice(); | ^~~ In file included from /raven/include/SFML/Audio.hpp:37: /raven/include/SFML/Audio/SoundBuffer.hpp:87:37: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 87 | explicit SoundBuffer(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Audio/SoundBuffer.hpp:87:53: error: expected unqualified-id before '&' token 87 | explicit SoundBuffer(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/SoundBuffer.hpp:87:53: error: expected ')' before '&' token 87 | explicit SoundBuffer(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/SoundBuffer.hpp:87:53: error: constructors may not be ref-qualified /raven/include/SFML/Audio/SoundBuffer.hpp:87:53: error: expected ';' at end of member declaration 87 | explicit SoundBuffer(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/SoundBuffer.hpp:87:55: error: 'filename' does not name a type 87 | explicit SoundBuffer(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Audio/SoundBuffer.hpp:161:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 161 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Audio/SoundBuffer.hpp:161:64: error: expected unqualified-id before '&' token 161 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/SoundBuffer.hpp:161:64: error: expected ')' before '&' token 161 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/SoundBuffer.hpp:161:64: error: expected ';' at end of member declaration 161 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/SoundBuffer.hpp:161:66: error: 'filename' does not name a type 161 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Audio/SoundBuffer.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Audio/SoundBuffer.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Audio/SoundBuffer.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Audio/SoundBuffer.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Audio/SoundBuffer.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ In file included from /raven/include/SFML/Audio.hpp:39: /raven/include/SFML/Audio/SoundFileFactory.hpp:112:95: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 112 | [[nodiscard]] static std::unique_ptr createReaderFromFilename(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Audio/SoundFileFactory.hpp:112:111: error: expected unqualified-id before '&' token 112 | [[nodiscard]] static std::unique_ptr createReaderFromFilename(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/SoundFileFactory.hpp:112:111: error: expected ')' before '&' token 112 | [[nodiscard]] static std::unique_ptr createReaderFromFilename(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/SoundFileFactory.hpp:112:111: error: static member function 'static std::unique_ptr sf::SoundFileFactory::createReaderFromFilename(...)' cannot have ref-qualifier /raven/include/SFML/Audio/SoundFileFactory.hpp:112:111: error: expected ';' at end of member declaration 112 | [[nodiscard]] static std::unique_ptr createReaderFromFilename(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/SoundFileFactory.hpp:112:113: error: 'filename' does not name a type 112 | [[nodiscard]] static std::unique_ptr createReaderFromFilename(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Audio/SoundFileFactory.hpp:147:95: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | [[nodiscard]] static std::unique_ptr createWriterFromFilename(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Audio/SoundFileFactory.hpp:147:111: error: expected unqualified-id before '&' token 147 | [[nodiscard]] static std::unique_ptr createWriterFromFilename(const std::filesystem::path& filename); | ^ /raven/include/SFML/Audio/SoundFileFactory.hpp:147:111: error: expected ')' before '&' token 147 | [[nodiscard]] static std::unique_ptr createWriterFromFilename(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Audio/SoundFileFactory.hpp:147:111: error: static member function 'static std::unique_ptr sf::SoundFileFactory::createWriterFromFilename(...)' cannot have ref-qualifier /raven/include/SFML/Audio/SoundFileFactory.hpp:147:111: error: expected ';' at end of member declaration 147 | [[nodiscard]] static std::unique_ptr createWriterFromFilename(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Audio/SoundFileFactory.hpp:147:113: error: 'filename' does not name a type 147 | [[nodiscard]] static std::unique_ptr createWriterFromFilename(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Audio/SoundFileFactory.hpp:157:50: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 157 | using WriterCheckFnPtr = bool (*)(const std::filesystem::path&); | ^~~~~~~~~~ | system /raven/include/SFML/Audio/SoundFileFactory.hpp:157:66: error: expected unqualified-id before '&' token 157 | using WriterCheckFnPtr = bool (*)(const std::filesystem::path&); | ^ /raven/include/SFML/Audio/SoundFileFactory.hpp:157:66: error: expected ')' before '&' token 157 | using WriterCheckFnPtr = bool (*)(const std::filesystem::path&); | ~ ^ | ) /raven/include/SFML/Audio/SoundFileFactory.hpp:157:66: error: invalid qualifiers on non-member function type /raven/include/SFML/Audio/SoundFileFactory.hpp:157:67: error: expected ';' before ')' token 157 | using WriterCheckFnPtr = bool (*)(const std::filesystem::path&); | ^ | ; /raven/include/SFML/Audio/SoundFileFactory.hpp:160:79: error: 'WriterCheckFnPtr' was not declared in this scope; did you mean 'ReaderCheckFnPtr'? 160 | using WriterFactoryMap = std::unordered_map, WriterCheckFnPtr>; | ^~~~~~~~~~~~~~~~ | ReaderCheckFnPtr /raven/include/SFML/Audio/SoundFileFactory.hpp:160:95: error: template argument 2 is invalid 160 | using WriterFactoryMap = std::unordered_map, WriterCheckFnPtr>; | ^ /raven/include/SFML/Audio/SoundFileFactory.hpp:160:95: error: template argument 5 is invalid /raven/include/SFML/Audio/SoundFileFactory.hpp:166:26: error: 'WriterFactoryMap' does not name a type; did you mean 'ReaderFactoryMap'? 166 | [[nodiscard]] static WriterFactoryMap& getWriterFactoryMap(); | ^~~~~~~~~~~~~~~~ | ReaderFactoryMap In file included from /raven/include/SFML/Audio/SoundFileFactory.hpp:171: /raven/include/SFML/Audio/SoundFileFactory.inl: In static member function 'static void sf::SoundFileFactory::registerWriter()': /raven/include/SFML/Audio/SoundFileFactory.inl:77:5: error: there are no arguments to 'getWriterFactoryMap' that depend on a template parameter, so a declaration of 'getWriterFactoryMap' must be available [-fpermissive] 77 | getWriterFactoryMap()[&priv::createWriter] = &T::check; | ^~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Audio/SoundFileFactory.inl:77:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /raven/include/SFML/Audio/SoundFileFactory.inl: In static member function 'static void sf::SoundFileFactory::unregisterWriter()': /raven/include/SFML/Audio/SoundFileFactory.inl:85:5: error: there are no arguments to 'getWriterFactoryMap' that depend on a template parameter, so a declaration of 'getWriterFactoryMap' must be available [-fpermissive] 85 | getWriterFactoryMap().erase(&priv::createWriter); | ^~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Audio/SoundFileFactory.inl: In static member function 'static bool sf::SoundFileFactory::isWriterRegistered()': /raven/include/SFML/Audio/SoundFileFactory.inl:93:12: error: there are no arguments to 'getWriterFactoryMap' that depend on a template parameter, so a declaration of 'getWriterFactoryMap' must be available [-fpermissive] 93 | return getWriterFactoryMap().count(&priv::createWriter) == 1; | ^~~~~~~~~~~~~~~~~~~ In file included from /raven/include/SFML/System.hpp:34, from /raven/include/SFML/Audio.hpp:46: /raven/include/SFML/System/Clock.hpp: At global scope: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31, from audio.h:20, from audio.cpp:23: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/vector:62, from /raven/include/SFML/Audio/SoundFileReader.hpp:35: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ audio.cpp: In constructor 'TSound::TSound(int)': audio.cpp:34:37: error: call of overloaded 'SoundBuffer()' is ambiguous 34 | explicit TSound(int volume) { | ^ /raven/include/SFML/Audio/SoundBuffer.hpp:87:14: note: candidate: 'sf::SoundBuffer::SoundBuffer(...)' 87 | explicit SoundBuffer(const std::filesystem::path& filename); | ^~~~~~~~~~~ /raven/include/SFML/Audio/SoundBuffer.hpp:64:5: note: candidate: 'sf::SoundBuffer::SoundBuffer()' 64 | SoundBuffer() = default; | ^~~~~~~~~~~ audio.cpp:34:37: error: no matching function for call to 'sf::Sound::Sound()' 34 | explicit TSound(int volume) { | ^ In file included from /raven/include/SFML/Audio.hpp:36: /raven/include/SFML/Audio/Sound.hpp:70:5: note: candidate: 'sf::Sound::Sound(const sf::Sound&)' 70 | Sound(const Sound& copy); | ^~~~~ /raven/include/SFML/Audio/Sound.hpp:70:5: note: candidate expects 1 argument, 0 provided /raven/include/SFML/Audio/Sound.hpp:56:14: note: candidate: 'sf::Sound::Sound(const sf::SoundBuffer&)' 56 | explicit Sound(const SoundBuffer& buffer); | ^~~~~ /raven/include/SFML/Audio/Sound.hpp:56:14: note: candidate expects 1 argument, 0 provided audio.cpp: In member function 'void TSound::Play(bool)': audio.cpp:42:54: error: 'Playing' is not a member of 'sf::Sound' 42 | if (player.getStatus() == sf::Sound::Playing) return; | ^~~~~~~ audio.cpp:43:24: error: 'class sf::Sound' has no member named 'setLoop'; did you mean 'stop'? 43 | player.setLoop(loop); | ^~~~~~~ | stop audio.cpp: In member function 'void CSound::Halt(std::size_t)': audio.cpp:133:37: error: 'class sf::Sound' has no member named 'getLoop' 133 | if (sounds[soundid]->player.getLoop()) | ^~~~~~~ audio.cpp: In member function 'bool CMusic::LoadPiece(const std::string&, const std::string&)': audio.cpp:160:38: error: call of overloaded 'Music()' is ambiguous 160 | sf::Music* m = new sf::Music(); | ^ /raven/include/SFML/Audio/Music.hpp:96:14: note: candidate: 'sf::Music::Music(...)' 96 | explicit Music(const std::filesystem::path& filename); | ^~~~~ /raven/include/SFML/Audio/Music.hpp:75:5: note: candidate: 'sf::Music::Music()' 75 | Music(); | ^~~~~ audio.cpp: In member function 'bool CMusic::Play(sf::Music*, bool, int)': audio.cpp:248:24: error: 'class sf::Music' has no member named 'setLoop'; did you mean 'stop'? 248 | music->setLoop(loop); | ^~~~~~~ | stop --- course.o --- In file included from /raven/include/SFML/System.hpp:34, from bh.h:30, from course.cpp:22: /raven/include/SFML/System/Clock.hpp:78:20: error: 'ratio_less_equal_v' is not a member of 'std'; did you mean 'ratio_less_equal'? 78 | static_assert(std::ratio_less_equal_v, | ^~~~~~~~~~~~~~~~~~ | ratio_less_equal /raven/include/SFML/System/Clock.hpp:78:56: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:68: error: expected primary-expression before '>' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected primary-expression before ',' token 78 | static_assert(std::ratio_less_equal_v, | ^ /raven/include/SFML/System/Clock.hpp:78:69: error: expected ')' before ',' token 78 | static_assert(std::ratio_less_equal_v, | ~ ^ | ) In file included from /raven/include/SFML/System/FileInputStream.hpp:34, from /raven/include/SFML/System.hpp:37: /raven/include/SFML/System/InputStream.hpp:66:32: error: 'optional' in namespace 'std' does not name a template type 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:66:27: note: 'std::optional' is only available from C++17 onwards 66 | [[nodiscard]] virtual std::optional read(void* data, std::size_t size) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:76:32: error: 'optional' in namespace 'std' does not name a template type 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:76:27: note: 'std::optional' is only available from C++17 onwards 76 | [[nodiscard]] virtual std::optional seek(std::size_t position) = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:84:32: error: 'optional' in namespace 'std' does not name a template type 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:84:27: note: 'std::optional' is only available from C++17 onwards 84 | [[nodiscard]] virtual std::optional tell() = 0; | ^~~ /raven/include/SFML/System/InputStream.hpp:92:18: error: 'optional' in namespace 'std' does not name a template type 92 | virtual std::optional getSize() = 0; | ^~~~~~~~ /raven/include/SFML/System/InputStream.hpp:92:13: note: 'std::optional' is only available from C++17 onwards 92 | virtual std::optional getSize() = 0; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:106:41: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected unqualified-id before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ')' before '&' token 106 | explicit FileInputStream(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:106:57: error: constructors may not be ref-qualified /raven/include/SFML/System/FileInputStream.hpp:106:57: error: expected ';' at end of member declaration 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:106:59: error: 'filename' does not name a type 106 | explicit FileInputStream(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:116:40: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected unqualified-id before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ')' before '&' token 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/System/FileInputStream.hpp:116:56: error: expected ';' at end of member declaration 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/System/FileInputStream.hpp:116:58: error: 'filename' does not name a type 116 | [[nodiscard]] bool open(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:24: error: 'optional' in namespace 'std' does not name a template type 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:130:19: note: 'std::optional' is only available from C++17 onwards 130 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:140:24: error: 'optional' in namespace 'std' does not name a template type 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:140:19: note: 'std::optional' is only available from C++17 onwards 140 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:148:24: error: 'optional' in namespace 'std' does not name a template type 148 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:148:19: note: 'std::optional' is only available from C++17 onwards 148 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/FileInputStream.hpp:156:10: error: 'optional' in namespace 'std' does not name a template type 156 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/FileInputStream.hpp:156:5: note: 'std::optional' is only available from C++17 onwards 156 | std::optional getSize() override; | ^~~ In file included from /raven/include/SFML/System.hpp:39: /raven/include/SFML/System/MemoryInputStream.hpp:70:24: error: 'optional' in namespace 'std' does not name a template type 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:70:19: note: 'std::optional' is only available from C++17 onwards 70 | [[nodiscard]] std::optional read(void* data, std::size_t size) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:24: error: 'optional' in namespace 'std' does not name a template type 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:80:19: note: 'std::optional' is only available from C++17 onwards 80 | [[nodiscard]] std::optional seek(std::size_t position) override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:24: error: 'optional' in namespace 'std' does not name a template type 88 | [[nodiscard]] std::optional tell() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:88:19: note: 'std::optional' is only available from C++17 onwards 88 | [[nodiscard]] std::optional tell() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:10: error: 'optional' in namespace 'std' does not name a template type 96 | std::optional getSize() override; | ^~~~~~~~ /raven/include/SFML/System/MemoryInputStream.hpp:96:5: note: 'std::optional' is only available from C++17 onwards 96 | std::optional getSize() override; | ^~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:16: error: 'byte' in namespace 'std' does not name a type 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~~ /raven/include/SFML/System/MemoryInputStream.hpp:102:11: note: 'std::byte' is only available from C++17 onwards 102 | const std::byte* m_data{}; //!< Pointer to the data in memory | ^~~ In file included from /raven/include/SFML/System/Utf.hpp:742, from /raven/include/SFML/System/String.hpp:32, from /raven/include/SFML/System.hpp:41: /raven/include/SFML/System/Utf.inl: In static member function 'static Out sf::Utf<8>::encode(char32_t, Out, uint8_t)': /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' 137 | std::array bytes{}; | ^~~~ /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:25: error: 'byte' is not a member of 'std' /raven/include/SFML/System/Utf.inl:137:25: note: 'std::byte' is only available from C++17 onwards /raven/include/SFML/System/Utf.inl:137:32: error: template argument 1 is invalid 137 | std::array bytes{}; | ^ /raven/include/SFML/System/Utf.inl:142:26: error: invalid types 'int[int]' for array subscript 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:142:49: error: 'byte' in namespace 'std' does not name a type 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:142:44: note: 'std::byte' is only available from C++17 onwards 142 | case 4: bytes[3] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:143:26: error: invalid types 'int[int]' for array subscript 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:143:49: error: 'byte' in namespace 'std' does not name a type 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:143:44: note: 'std::byte' is only available from C++17 onwards 143 | case 3: bytes[2] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:144:26: error: invalid types 'int[int]' for array subscript 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^ /raven/include/SFML/System/Utf.inl:144:49: error: 'byte' in namespace 'std' does not name a type 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~~ /raven/include/SFML/System/Utf.inl:144:44: note: 'std::byte' is only available from C++17 onwards 144 | case 2: bytes[1] = static_cast((input | 0x80) & 0xBF); input >>= 6; [[fallthrough]]; | ^~~ /raven/include/SFML/System/Utf.inl:145:26: error: invalid types 'int[int]' for array subscript 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^ /raven/include/SFML/System/Utf.inl:145:49: error: 'byte' in namespace 'std' does not name a type 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~~ /raven/include/SFML/System/Utf.inl:145:44: note: 'std::byte' is only available from C++17 onwards 145 | case 1: bytes[0] = static_cast (input | firstBytes[bytestoWrite]); | ^~~ /raven/include/SFML/System/Utf.inl:150:35: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ /raven/include/SFML/System/Utf.inl:150:49: error: request for member 'data' in 'bytes', which is of non-class type 'int' 150 | output = priv::copy(bytes.data(), bytes.data() + bytestoWrite, output); | ^~~~ In file included from /raven/include/SFML/Window.hpp:32, from bh.h:31: /raven/include/SFML/Window/Context.hpp: At global scope: /raven/include/SFML/Window/Context.hpp:130:57: error: 'std::string_view' has not been declared 130 | [[nodiscard]] static bool isExtensionAvailable(std::string_view name); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Window.hpp:34: /raven/include/SFML/Window/Cursor.hpp:226:31: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:226:26: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] static std::optional createFromPixels(const std::uint8_t* pixels, Vector2u size, Vector2u hotspot); | ^~~ /raven/include/SFML/Window/Cursor.hpp:242:31: error: 'optional' in namespace 'std' does not name a template type 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~~~~~~ /raven/include/SFML/Window/Cursor.hpp:242:26: note: 'std::optional' is only available from C++17 onwards 242 | [[nodiscard]] static std::optional createFromSystem(Type type); | ^~~ In file included from /raven/include/SFML/Window.hpp:35: /raven/include/SFML/Window/Event.hpp:345:10: error: 'variant' in namespace 'std' does not name a template type 345 | std::variant*) | ^~~~~~~ /raven/include/SFML/Window/Event.hpp:374:65: note: 'std::variant' is only available from C++17 onwards 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^~~ /raven/include/SFML/Window/Event.hpp:374:77: error: expected ',' or '...' before '<' token 374 | [[nodiscard]] static constexpr bool isInParameterPack(const std::variant*) | ^ /raven/include/SFML/Window/Event.hpp:380:76: error: 'm_data' was not declared in this scope 380 | static constexpr bool isEventSubtype = isInParameterPack(decltype (&m_data)(nullptr)); | ^~~~~~ /raven/include/SFML/Window/Event.hpp: In static member function 'static constexpr bool sf::Event::isInParameterPack(int)': /raven/include/SFML/Window/Event.hpp:376:22: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 376 | return (std::is_same_v || ...); | ^~~~~~~~~ | is_same /raven/include/SFML/Window/Event.hpp:376:33: error: expected primary-expression before ',' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:37: error: expected primary-expression before '>' token 376 | return (std::is_same_v || ...); | ^ /raven/include/SFML/Window/Event.hpp:376:39: error: expected primary-expression before '||' token 376 | return (std::is_same_v || ...); | ^~ /raven/include/SFML/Window/Event.hpp:376:42: error: operand of fold expression has no unexpanded parameter packs 376 | return (std::is_same_v || ...); | ^~~ In file included from /raven/include/SFML/Window/Event.hpp:385: /raven/include/SFML/Window/Event.inl: In constructor 'sf::Event::Event(const TEventSubtype&)': /raven/include/SFML/Window/Event.inl:47:9: error: 'm_data' was not declared in this scope 47 | m_data = eventSubtype; | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'bool sf::Event::is() const': /raven/include/SFML/Window/Event.inl:57:21: error: 'holds_alternative' is not a member of 'std' 57 | return std::holds_alternative(m_data); | ^~~~~~~~~~~~~~~~~ /raven/include/SFML/Window/Event.inl:57:21: note: 'std::holds_alternative' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:57:52: error: expected primary-expression before '>' token 57 | return std::holds_alternative(m_data); | ^ /raven/include/SFML/Window/Event.inl:57:54: error: 'm_data' was not declared in this scope 57 | return std::holds_alternative(m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'const TEventSubtype* sf::Event::getIf() const': /raven/include/SFML/Window/Event.inl:67:21: error: 'get_if' is not a member of 'std' 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl:67:41: error: expected primary-expression before '>' token 67 | return std::get_if(&m_data); | ^ /raven/include/SFML/Window/Event.inl:67:44: error: 'm_data' was not declared in this scope 67 | return std::get_if(&m_data); | ^~~~~~ /raven/include/SFML/Window/Event.inl: In member function 'decltype(auto) sf::Event::visit(T&&) const': /raven/include/SFML/Window/Event.inl:75:17: error: 'visit' is not a member of 'std' 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~ /raven/include/SFML/Window/Event.inl:75:17: note: 'std::visit' is only available from C++17 onwards /raven/include/SFML/Window/Event.inl:75:49: error: 'm_data' was not declared in this scope 75 | return std::visit(std::forward(visitor), m_data); | ^~~~~~ In file included from /raven/include/SFML/Window/Window.hpp:32, from /raven/include/SFML/Window.hpp:42: /raven/include/SFML/Window/WindowBase.hpp: At global scope: /raven/include/SFML/Window/WindowBase.hpp:226:24: error: 'optional' in namespace 'std' does not name a template type 226 | [[nodiscard]] std::optional pollEvent(); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:226:19: note: 'std::optional' is only available from C++17 onwards 226 | [[nodiscard]] std::optional pollEvent(); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:252:24: error: 'optional' in namespace 'std' does not name a template type 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:252:19: note: 'std::optional' is only available from C++17 onwards 252 | [[nodiscard]] std::optional waitEvent(Time timeout = Time::Zero); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:36: error: 'optional' in namespace 'std' does not name a template type 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:387:31: note: 'std::optional' is only available from C++17 onwards 387 | void setMinimumSize(const std::optional& minimumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:387:44: error: expected ',' or '...' before '<' token 387 | void setMinimumSize(const std::optional& minimumSize); | ^ /raven/include/SFML/Window/WindowBase.hpp:397:36: error: 'optional' in namespace 'std' does not name a template type 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~~~~~~ /raven/include/SFML/Window/WindowBase.hpp:397:31: note: 'std::optional' is only available from C++17 onwards 397 | void setMaximumSize(const std::optional& maximumSize); | ^~~ /raven/include/SFML/Window/WindowBase.hpp:397:44: error: expected ',' or '...' before '<' token 397 | void setMaximumSize(const std::optional& maximumSize); | ^ In file included from /raven/include/SFML/Window/WindowBase.hpp:617: /raven/include/SFML/Window/WindowBase.inl:47:41: error: expected constructor, destructor, or type conversion before ';' token 47 | OverloadSet(Ts...) -> OverloadSet; | ^ /raven/include/SFML/Window/WindowBase.inl: In member function 'void sf::WindowBase::handleEvents(Ts&& ...)': /raven/include/SFML/Window/WindowBase.inl:69:23: error: missing template arguments before 'overloadSet' 69 | priv::OverloadSet overloadSet{std::forward(handlers)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}; | ^~~~~~~~~~~ /raven/include/SFML/Window/WindowBase.inl:71:32: error: qualified-id in declaration before 'event' 71 | while (const std::optional event = pollEvent()) | ^~~~~ /raven/include/SFML/Window/WindowBase.inl:72:9: error: 'event' was not declared in this scope; did you mean 'Event'? 72 | event->visit(overloadSet); | ^~~~~ | Event /raven/include/SFML/Window/WindowBase.inl:72:22: error: 'overloadSet' was not declared in this scope 72 | event->visit(overloadSet); | ^~~~~~~~~~~ In file included from /raven/include/SFML/Graphics/Color.hpp:229, from /raven/include/SFML/Graphics/Shape.hpp:32, from /raven/include/SFML/Graphics/CircleShape.hpp:32, from /raven/include/SFML/Graphics.hpp:32, from bh.h:32: /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator+(Color, Color)': /raven/include/SFML/Graphics/Color.inl:77:16: error: variable 'clampedAdd' of non-literal type 'const sf::operator+(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:77:30: note: 'sf::operator+(Color, Color)::' is not literal because: 77 | const auto clampedAdd = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator+(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator-(Color, Color)': /raven/include/SFML/Graphics/Color.inl:93:16: error: variable 'clampedSub' of non-literal type 'const sf::operator-(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:93:30: note: 'sf::operator-(Color, Color)::' is not literal because: 93 | const auto clampedSub = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator-(Color, Color)::' is a closure type, which is only literal in C++17 and later /raven/include/SFML/Graphics/Color.inl: In function 'constexpr sf::Color sf::operator*(Color, Color)': /raven/include/SFML/Graphics/Color.inl:109:16: error: variable 'scaledMul' of non-literal type 'const sf::operator*(Color, Color)::' in 'constexpr' function only available with '-std=c++2b' or '-std=gnu++2b' 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^~~~~~~~~ /raven/include/SFML/Graphics/Color.inl:109:29: note: 'sf::operator*(Color, Color)::' is not literal because: 109 | const auto scaledMul = [](std::uint8_t lhs, std::uint8_t rhs) | ^ cc1plus: note: 'sf::operator*(Color, Color)::' is a closure type, which is only literal in C++17 and later In file included from /raven/include/SFML/Graphics/Shape.hpp:35: /raven/include/SFML/Graphics/Rect.hpp: At global scope: /raven/include/SFML/Graphics/Rect.hpp:98:34: error: 'optional' in namespace 'std' does not name a template type 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.hpp:98:29: note: 'std::optional' is only available from C++17 onwards 98 | [[nodiscard]] constexpr std::optional> findIntersection(const Rect& rectangle) const; | ^~~ In file included from /raven/include/SFML/Graphics/Rect.hpp:151: /raven/include/SFML/Graphics/Rect.inl:71:16: error: 'optional' in namespace 'std' does not name a template type 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~~~~~~ /raven/include/SFML/Graphics/Rect.inl:71:11: note: 'std::optional' is only available from C++17 onwards 71 | constexpr std::optional> Rect::findIntersection(const Rect& rectangle) const | ^~~ In file included from /raven/include/SFML/Graphics/Transform.hpp:352, from /raven/include/SFML/Graphics/RenderStates.hpp:35, from /raven/include/SFML/Graphics/Shape.hpp:36: /raven/include/SFML/Graphics/Transform.inl: In member function 'constexpr sf::FloatRect sf::Transform::transformRect(const sf::FloatRect&) const': /raven/include/SFML/Graphics/Transform.inl:101:11: error: invalid use of template-name 'std::array' without an argument list 101 | const std::array points = {transformPoint(rectangle.position), | ^~~ /raven/include/SFML/Graphics/Transform.inl:101:11: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' In file included from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_algobase.h:64, from /raven/toolchain/ravensys-gcc/include/c++/14.2.0/string:51, from bh.h:27: /raven/toolchain/ravensys-gcc/include/c++/14.2.0/bits/stl_pair.h:99:12: note: 'template struct std::array' declared here 99 | struct array; | ^~~~~ /raven/include/SFML/Graphics/Transform.inl:107:21: error: 'points' was not declared in this scope; did you mean 'printf'? 107 | Vector2f pmin = points[0]; | ^~~~~~ | printf In file included from /raven/include/SFML/Graphics/Font.hpp:34, from /raven/include/SFML/Graphics.hpp:36: /raven/include/SFML/Graphics/Texture.hpp: At global scope: /raven/include/SFML/Graphics/Texture.hpp:114:33: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected unqualified-id before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ')' before '&' token 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:114:49: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:114:49: error: expected ';' at end of member declaration 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:114:51: error: 'filename' does not name a type 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:24: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected unqualified-id before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ')' before '&' token 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:137:40: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Texture.hpp:137:40: error: expected ';' at end of member declaration 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:137:5: error: 'sf::Texture::Texture(...)' cannot be overloaded with 'sf::Texture::Texture(...)' 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:114:14: note: previous declaration 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:137:42: error: 'filename' does not name a type 137 | Texture(const std::filesystem::path& filename, bool sRgb, const IntRect& area); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected unqualified-id before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ')' before '&' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ~ ^ | ) /raven/include/SFML/Graphics/Texture.hpp:304:64: error: expected ';' at end of member declaration 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ | ; /raven/include/SFML/Graphics/Texture.hpp:304:66: error: 'filename' does not name a type 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^~~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:304:119: error: expected unqualified-id before ')' token 304 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, bool sRgb = false, const IntRect& area = {}); | ^ /raven/include/SFML/Graphics/Font.hpp:103:30: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected unqualified-id before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ')' before '&' token 103 | explicit Font(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:103:46: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Font.hpp:103:46: error: expected ';' at end of member declaration 103 | explicit Font(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:103:48: error: 'filename' does not name a type 103 | explicit Font(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Font.hpp:168:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected unqualified-id before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ')' before '&' token 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Font.hpp:168:64: error: expected ';' at end of member declaration 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Font.hpp:168:66: error: 'filename' does not name a type 168 | [[nodiscard]] bool openFromFile(const std::filesystem::path& filename); | ^~~~~~~~ In file included from /raven/include/SFML/Graphics.hpp:38: /raven/include/SFML/Graphics/Image.hpp:103:31: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected unqualified-id before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ')' before '&' token 103 | explicit Image(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:103:47: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Image.hpp:103:47: error: expected ';' at end of member declaration 103 | explicit Image(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:103:49: error: 'filename' does not name a type 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:175:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected unqualified-id before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ')' before '&' token 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:175:64: error: expected ';' at end of member declaration 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^ | ; /raven/include/SFML/Graphics/Image.hpp:175:66: error: 'filename' does not name a type 175 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename); | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:227:46: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected unqualified-id before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ')' before '&' token 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ~ ^ | ) /raven/include/SFML/Graphics/Image.hpp:227:62: error: expected ';' at end of member declaration 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^ | ; /raven/include/SFML/Graphics/Image.hpp:227:64: error: 'filename' does not name a type 227 | [[nodiscard]] bool saveToFile(const std::filesystem::path& filename) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:24: error: 'optional' in namespace 'std' does not name a template type 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:245:19: note: 'std::optional' is only available from C++17 onwards 245 | [[nodiscard]] std::optional> saveToMemory(std::string_view format) const; | ^~~ In file included from /raven/include/SFML/Graphics.hpp:46: /raven/include/SFML/Graphics/Shader.hpp:147:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected unqualified-id before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ')' before '&' token 147 | Shader(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:147:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:147:39: error: expected ';' at end of member declaration 147 | Shader(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:147:41: error: 'filename' does not name a type 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected unqualified-id before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ')' before '&' token 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:168:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:168:39: error: expected ';' at end of member declaration 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:168:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:168:41: error: 'vertexShaderFilename' does not name a type 168 | Shader(const std::filesystem::path& vertexShaderFilename, const std::filesystem::path& fragmentShaderFilename); | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:23: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected unqualified-id before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ')' before '&' token 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:190:39: error: constructors may not be ref-qualified /raven/include/SFML/Graphics/Shader.hpp:190:39: error: expected ';' at end of member declaration 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:190:5: error: 'sf::Shader::Shader(...)' cannot be overloaded with 'sf::Shader::Shader(...)' 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:147:5: note: previous declaration 'sf::Shader::Shader(...)' 147 | Shader(const std::filesystem::path& filename, Type type); | ^~~~~~ /raven/include/SFML/Graphics/Shader.hpp:190:41: error: 'vertexShaderFilename' does not name a type 190 | Shader(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:212:28: error: expected ')' before 'shader' 212 | Shader(std::string_view shader, Type type); | ~ ^~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:233:28: error: expected ')' before 'vertexShader' 233 | Shader(std::string_view vertexShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:255:28: error: expected ')' before 'vertexShader' 255 | Shader(std::string_view vertexShader, std::string_view geometryShader, std::string_view fragmentShader); | ~ ^~~~~~~~~~~~~ | ) /raven/include/SFML/Graphics/Shader.hpp:339:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected unqualified-id before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ')' before '&' token 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:339:64: error: expected ';' at end of member declaration 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:339:66: error: 'filename' does not name a type 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected unqualified-id before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ')' before '&' token 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:360:64: error: expected ';' at end of member declaration 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:360:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:360:66: error: 'vertexShaderFilename' does not name a type 360 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:48: error: 'filesystem' in namespace 'std' does not name a type; did you mean 'system'? 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~ | system /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected unqualified-id before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ')' before '&' token 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ~ ^ | ) /raven/include/SFML/Graphics/Shader.hpp:383:64: error: expected ';' at end of member declaration 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^ | ; /raven/include/SFML/Graphics/Shader.hpp:383:24: error: 'bool sf::Shader::loadFromFile(...) &' cannot be overloaded with 'bool sf::Shader::loadFromFile(...) &' 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:339:24: note: previous declaration 'bool sf::Shader::loadFromFile(...) &' 339 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& filename, Type type); | ^~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:383:66: error: 'vertexShaderFilename' does not name a type 383 | [[nodiscard]] bool loadFromFile(const std::filesystem::path& vertexShaderFilename, | ^~~~~~~~~~~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:405:44: error: 'std::string_view' has not been declared 405 | [[nodiscard]] bool loadFromMemory(std::string_view shader, Type type); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:44: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:426:75: error: 'std::string_view' has not been declared 426 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:448:44: error: 'std::string_view' has not been declared 448 | [[nodiscard]] bool loadFromMemory(std::string_view vertexShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:449:44: error: 'std::string_view' has not been declared 449 | std::string_view geometryShader, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:450:44: error: 'std::string_view' has not been declared 450 | std::string_view fragmentShader); | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:861:37: error: 'std::string_view' has not been declared 861 | [[nodiscard]] bool compile(std::string_view vertexShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:862:37: error: 'std::string_view' has not been declared 862 | std::string_view geometryShaderCode, | ^~~~~~~~~~~ /raven/include/SFML/Graphics/Shader.hpp:863:37: error: 'std::string_view' has not been declared 863 | std::string_view fragmentShaderCode); | ^~~~~~~~~~~ In file included from course.cpp:34: winsys.h: In member function 'bool CWinsys::PollEvent(sf::Event&)': winsys.h:65:58: error: 'class sf::RenderWindow' has no member named 'pollEvent' 65 | bool PollEvent(sf::Event& event) { return window.pollEvent(event); } | ^~~~~~~~~ course.cpp: In member function 'bool CCourse::LoadElevMap()': course.cpp:319:19: error: call of overloaded 'Image()' is ambiguous 319 | sf::Image img; | ^~~ /raven/include/SFML/Graphics/Image.hpp:103:14: note: candidate: 'sf::Image::Image(...)' 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~ /raven/include/SFML/Graphics/Image.hpp:65:5: note: candidate: 'sf::Image::Image()' 65 | Image() = default; | ^~~~~ course.cpp: In member function 'void CCourse::LoadItemList()': course.cpp:378:63: error: use of deleted function 'TTexture::TTexture()' 378 | ObjTypes[type].texture = new TTexture(); | ^ In file included from course.cpp:24: textures.h:64:7: note: 'TTexture::TTexture()' is implicitly deleted because the default definition would be ill-formed: 64 | class TTexture { | ^~~~~~~~ textures.h: At global scope: textures.h:64:7: error: call of overloaded 'Texture()' is ambiguous /raven/include/SFML/Graphics/Texture.hpp:114:14: note: candidate: 'sf::Texture::Texture(...)' 114 | explicit Texture(const std::filesystem::path& filename, bool sRgb = false); | ^~~~~~~ /raven/include/SFML/Graphics/Texture.hpp:66:5: note: candidate: 'sf::Texture::Texture()' 66 | Texture(); | ^~~~~~~ course.cpp: In member function 'void CCourse::LoadItemList()': course.cpp:378:63: note: use '-fdiagnostics-all-candidates' to display considered candidates 378 | ObjTypes[type].texture = new TTexture(); | ^ course.cpp: In member function 'bool CCourse::LoadAndConvertObjectMap()': course.cpp:431:19: error: call of overloaded 'Image()' is ambiguous 431 | sf::Image treeImg; | ^~~~~~~ /raven/include/SFML/Graphics/Image.hpp:103:14: note: candidate: 'sf::Image::Image(...)' 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~ /raven/include/SFML/Graphics/Image.hpp:65:5: note: candidate: 'sf::Image::Image()' 65 | Image() = default; | ^~~~~ course.cpp:457:79: error: use of deleted function 'TTexture::TTexture()' 457 | ObjTypes[type].texture = new TTexture(); | ^ course.cpp:457:79: note: use '-fdiagnostics-all-candidates' to display considered candidates course.cpp: In member function 'bool CCourse::LoadTerrainMap()': course.cpp:600:19: error: call of overloaded 'Image()' is ambiguous 600 | sf::Image terrImage; | ^~~~~~~~~ /raven/include/SFML/Graphics/Image.hpp:103:14: note: candidate: 'sf::Image::Image(...)' 103 | explicit Image(const std::filesystem::path& filename); | ^~~~~ /raven/include/SFML/Graphics/Image.hpp:65:5: note: candidate: 'sf::Image::Image()' 65 | Image() = default; | ^~~~~ course.cpp:621:71: error: use of deleted function 'TTexture::TTexture()' 621 | TerrList[terr].texture = new TTexture(); | ^ course.cpp:621:71: note: use '-fdiagnostics-all-candidates' to display considered candidates course.cpp: In member function 'bool CCourseList::Load(const std::string&)': course.cpp:654:59: error: use of deleted function 'TTexture::TTexture()' 654 | courses[i].preview = new TTexture(); | ^ course.cpp:654:59: note: use '-fdiagnostics-all-candidates' to display considered candidates --- audio.o --- *** [audio.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src --- course.o --- *** [course.o] Error code 1 make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src make[3]: 10 errors make[3]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4/src make[2]: stopped making "all-recursive" in /construction/extremetuxracer/etr-0.8.4 make[1]: stopped making "all" in /construction/extremetuxracer/etr-0.8.4 ===> Compilation failed unexpectedly. *** Error code 1 Stop. make: stopped making "build" in /port -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 10 JAN 2025 at 13:24:33 UTC Duration: 00:00:07