aboutsummaryrefslogtreecommitdiffstats
path: root/src/solar.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-05 01:52:15 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-05 01:52:15 +0100
commitf7af0d8e74978d83539a804991c708dec846baf3 (patch)
tree4e764fa0173e7b74fd3302b920c7414185281623 /src/solar.c
parentfix makefile (diff)
downloadlibred-f7af0d8e74978d83539a804991c708dec846baf3.tar.gz
libred-f7af0d8e74978d83539a804991c708dec846baf3.tar.bz2
libred-f7af0d8e74978d83539a804991c708dec846baf3.tar.xz
suppress warnings
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/solar.c')
-rw-r--r--src/solar.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/solar.c b/src/solar.c
index eb06ae7..e132522 100644
--- a/src/solar.c
+++ b/src/solar.c
@@ -23,6 +23,11 @@
#include <stdio.h>
#include <stdlib.h>
+#if __GNUC__
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"
+#endif
+
/* Select clock. */
@@ -302,3 +307,8 @@ int libred_check_timetravel(void)
return 0;
}
+
+#if __GNUC__
+# pragma GCC diagnostic pop
+#endif
+