diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-01 12:38:06 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-01 12:38:06 +0200 |
| commit | 3e88156817d5de5cc413acf67f0fd0a39a69acb2 (patch) | |
| tree | 44d98147e2a9731e6ffae5503f2c19647ecacde5 /src | |
| parent | 897179a06c3e62d11fec98d3f7fed3c1fa6d167a (diff) | |
| download | raylib-3e88156817d5de5cc413acf67f0fd0a39a69acb2.tar.gz raylib-3e88156817d5de5cc413acf67f0fd0a39a69acb2.zip | |
Ignore invalid warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile index 12f4609b..244675e2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -69,12 +69,13 @@ else endif # define compiler flags: -# -O1 defines optimization level -# -Wall turns on most, but not all, compiler warnings -# -std=c99 defines C language mode (standard C from 1999 revision) -# -std=gnu99 defines C language mode (GNU C from 1999 revision) -# -fgnu89-inline declaring inline functions support (GCC optimized, faster) -CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline +# -O1 defines optimization level +# -Wall turns on most, but not all, compiler warnings +# -std=c99 defines C language mode (standard C from 1999 revision) +# -std=gnu99 defines C language mode (GNU C from 1999 revision) +# -fgnu89-inline declaring inline functions support (GCC optimized, faster) +# -Wno-missing-braces ignore invalid warning (GCC bug 53119) +CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline -Wno-missing-braces #CFLAGSEXTRA = -Wextra -Wmissing-prototypes -Wstrict-prototypes |
