[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 078e9a1c 16/22: Ignore certain diagnostics
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 078e9a1c 16/22: Ignore certain diagnostics |
Date: |
Fri, 20 May 2022 22:43:42 -0400 (EDT) |
branch: master
commit 078e9a1cf3df0d2919fc60cae49944de00386655
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Ignore certain diagnostics
---
fdlibm_expm1.c | 9 +++++++++
fdlibm_log1p.c | 7 +++++++
2 files changed, 16 insertions(+)
diff --git a/fdlibm_expm1.c b/fdlibm_expm1.c
index a9c401bd..a193d55a 100644
--- a/fdlibm_expm1.c
+++ b/fdlibm_expm1.c
@@ -30,6 +30,15 @@
// it's the simplest lmi header.
#include "version.hpp"
+#if defined __GNUC__
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wfloat-conversion"
+# pragma GCC diagnostic ignored "-Wsign-conversion"
+# pragma GCC diagnostic ignored "-Wstrict-aliasing"
+# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"
+# pragma GCC diagnostic ignored "-Wunused-macros"
+#endif // defined __GNUC__
+
/* @(#)fdlibm.h 1.5 04/04/22 */
/*
* ====================================================
diff --git a/fdlibm_log1p.c b/fdlibm_log1p.c
index bccfcb4e..e0c08084 100644
--- a/fdlibm_log1p.c
+++ b/fdlibm_log1p.c
@@ -30,6 +30,13 @@
// it's the simplest lmi header.
#include "version.hpp"
+#if defined __GNUC__
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wstrict-aliasing"
+# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"
+# pragma GCC diagnostic ignored "-Wunused-macros"
+#endif // defined __GNUC__
+
/* @(#)fdlibm.h 1.5 04/04/22 */
/*
* ====================================================
- [lmi-commits] [lmi] master fa7bbb53 05/22: Prefer lmi style, (continued)
- [lmi-commits] [lmi] master fa7bbb53 05/22: Prefer lmi style, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 6b073770 08/22: Expunge unreferenced fdlibm versioning, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master cadb36d4 14/22: Don't include any fdlibm header, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 5b1ef5bb 15/22: Add prototypes, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master dd3abb11 18/22: Demonstrate a defect, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master af8d3ac0 21/22: Rationalize indentation of preprocessor directives, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 324e171e 02/22: Rectify whitespace, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 15b1aa35 11/22: Add license and copyright boilerplate, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 4ec9da1f 12/22: Rename fdlibm sources, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master e8a859a3 06/22: Rename prototyping macro, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 078e9a1c 16/22: Ignore certain diagnostics,
Greg Chicares <=
- [lmi-commits] [lmi] master 2d514bdc 09/22: Allow some common macros, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 1646f4c0 13/22: Rename fdlibm entry points, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 75dc2686 17/22: Write unambiguous braces, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 9e608afe 20/22: Remove debugging output for tests that now succeed, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 2563b0f6 07/22: Expunge prototypes for unreferenced functions, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master c6902b0d 19/22: Fix the defect just noted, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 6c12b4ea 22/22: Specify widths of some integers, Greg Chicares, 2022/05/20