diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-05 01:52:15 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-05 01:52:15 +0100 |
commit | f7af0d8e74978d83539a804991c708dec846baf3 (patch) | |
tree | 4e764fa0173e7b74fd3302b920c7414185281623 /src/solar.c | |
parent | fix makefile (diff) | |
download | libred-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 '')
-rw-r--r-- | src/solar.c | 10 |
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 + |