Added C standard gnu23 to the makefile (#288)

* Added C standard gnu23 to the makefile

* Added gnu23 standard to all test modue makefiles

* Added installation of latest gcc version to tests workflow

* Fixed typo in previous commit

* Made GCC 14 installation conditional and moved from the workflow to the script

* Extracted GCC version check to external script for CI and created tests README

* Added #!/bin/bash

* Make check_gcc_version.sh executable
This commit is contained in:
MeirGavish
2025-12-12 18:46:03 -08:00
committed by GitHub
parent 9bffe5c9a9
commit ae5369b8fe
8 changed files with 32 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
CC := gcc
CFLAGS := -I../../include -I. \
-g -O3 -Wall -Werror -Wno-format
-g -O3 -std=gnu23 -Wall -Werror -Wno-format
SRC := util_test.c ../../source/util.c
OUT := build/util_test