diff options
author | Mattias Andrée <maandree@kth.se> | 2021-09-16 18:13:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-09-16 18:13:08 +0200 |
commit | 090009a8e107888fb9f1ab5a2997d65c8c121398 (patch) | |
tree | ebb909ccbc6f6d29af5469964953aac987b86960 /generate-table.c | |
parent | whitespace (diff) | |
download | libred-1.0.2.tar.gz libred-1.0.2.tar.bz2 libred-1.0.2.tar.xz |
Improve makefile + minor fixes and improvements1.0.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'generate-table.c')
-rw-r--r-- | generate-table.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generate-table.c b/generate-table.c index 7be406f..c5c0ca3 100644 --- a/generate-table.c +++ b/generate-table.c @@ -5,10 +5,12 @@ #include <string.h> #include <stdio.h> -#if __GNUC__ +#if defined(__GNUC__) # pragma GCC diagnostic ignored "-Wfloat-equal" +# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants" #endif + /** * Colour temperatures in CIE xy (xyY without Y) */ @@ -20,6 +22,7 @@ static struct xy {double x, y;} xy_table[] = { #define LIBRED_COMPILING_PARSER #include "blackbody.c" + int main(void) { |