aboutsummaryrefslogtreecommitdiffstats
path: root/generate-table.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--generate-table.c5
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)
{