[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master e2b48a5: Forestall gcc-4.9.2 "unused" warning
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master e2b48a5: Forestall gcc-4.9.2 "unused" warnings (VZ) |
Date: |
Thu, 5 Jan 2017 22:10:47 +0000 (UTC) |
branch: master
commit e2b48a51fa9ecb47c6e4be2f7d602057cffe011c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Forestall gcc-4.9.2 "unused" warnings (VZ)
---
fenv_lmi.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/fenv_lmi.cpp b/fenv_lmi.cpp
index f2e0f2c..351400d 100644
--- a/fenv_lmi.cpp
+++ b/fenv_lmi.cpp
@@ -105,6 +105,7 @@ void fenv_precision(e_ieee754_precision precision_mode)
control_word.pc(pc);
x87_control_word(control_word.cw());
#else // !defined LMI_X87
+ stifle_warning_for_unused_variable(precision_mode);
throw std::logic_error("Unable to set hardware precision.");
#endif // !defined LMI_X87
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master e2b48a5: Forestall gcc-4.9.2 "unused" warnings (VZ),
Greg Chicares <=