Priyanshu Shah commented on a discussion on source-builder/config/gmp.cfg: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/165#note_129328 > + echo > "===============================================================================" > + echo "WARNING: GCC %{gcc_version_check} detected - GMP compilation may > fail" > + echo > "===============================================================================" > + echo "" > + echo "GCC 14 and later default to C23 standard, which may cause > compilation failures" > + echo "with GMP %{gmp_version}. If you encounter build errors, consider > using:" > + echo "" > + echo " - GCC 12 or GCC 13 (recommended)" > + echo " - Or export CC=gcc-12 (or gcc-13) before running the build" > + echo "" > + echo "This is a known compatibility issue with newer GCC versions." > + echo > "===============================================================================" > + echo "" > + %endif > + > ./configure \ I don't really understand why it should be set to c++17, the issue is with gnu14's implicit function declaration, setting it to something like "-std=gnu11" seems more logical to me. -- View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/165#note_129328 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
