lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 28e3c42 11/15: Remove workarounds for wx 3.1.


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 28e3c42 11/15: Remove workarounds for wx 3.1.1 warnings not relevant any more
Date: Fri, 27 Jul 2018 17:23:17 -0400 (EDT)

branch: master
commit 28e3c42760b4775365ccabe38a1df80a7b8859e3
Author: Vadim Zeitlin <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove workarounds for wx 3.1.1 warnings not relevant any more
    
    A later version of wxWidgets than the last version containing these
    warnings is required for building lmi now.
---
 ledger_pdf_generator_wx.cpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 41ca460..2d74736 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -1506,19 +1506,11 @@ TAG_HANDLER_BEGIN(numeric_summary_table, 
"NUMERIC_SUMMARY_TABLE")
     }
 TAG_HANDLER_END(numeric_summary_table)
 
-// In wxWidgets versions prior to 3.1.1, there is an extra semicolon at the end
-// of TAGS_MODULE_BEGIN() expansion resulting in a warning with -pedantic used
-// by lmi, so suppress this warning here (this could be removed once 3.1.1 is
-// required).
-wxGCC_WARNING_SUPPRESS(pedantic)
-
 TAGS_MODULE_BEGIN(lmi_illustration)
     TAGS_MODULE_ADD(scaled_image)
     TAGS_MODULE_ADD(numeric_summary_table)
 TAGS_MODULE_END(lmi_illustration)
 
-wxGCC_WARNING_RESTORE(pedantic)
-
 // Numeric summary page is used on its own, as a regular page, but also as the
 // base class for ill_reg_numeric_summary_attachment below, which is exactly
 // the same page, but appearing as an attachment at the end of the document.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]