lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6493] Forestall attribute warnings for gcc-4.9.1 as for g


From: Greg Chicares
Subject: [lmi-commits] [6493] Forestall attribute warnings for gcc-4.9.1 as for gcc-4.9.2
Date: Sat, 30 Jan 2016 12:12:55 +0000

Revision: 6493
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6493
Author:   chicares
Date:     2016-01-30 12:12:54 +0000 (Sat, 30 Jan 2016)
Log Message:
-----------
Forestall attribute warnings for gcc-4.9.1 as for gcc-4.9.2

Modified Paths:
--------------
    lmi/trunk/so_attributes.hpp

Modified: lmi/trunk/so_attributes.hpp
===================================================================
--- lmi/trunk/so_attributes.hpp 2016-01-29 02:31:33 UTC (rev 6492)
+++ lmi/trunk/so_attributes.hpp 2016-01-30 12:12:54 UTC (rev 6493)
@@ -103,18 +103,18 @@
 //   class ATTRIB foo {}
 // can be forward declared thus:
 //   class ATTRIB foo;
-// That worked for MinGW up to gcc-3.4.5; for MinGW-w64 gcc-4.9.2, it
+// That worked for MinGW up to gcc-3.4.5; for MinGW-w64 gcc-4.9.1, it
 // elicits a warning, and ATTRIB must be dropped from the forward
 // declaration. No knowledge is claimed of the behavior of gcc
 // versions between these two, which lmi did not use.
 
 #if defined LMI_USE_SO_ATTRIBUTES
 #   if defined __GNUC__
-#       if LMI_GCC_VERSION < 40902
+#       if LMI_GCC_VERSION < 40901
 #           define LMI_SO_FWD_DECL LMI_SO
-#       else  // !(LMI_GCC_VERSION < 40902)
+#       else  // !(LMI_GCC_VERSION < 40901)
 #           define LMI_SO_FWD_DECL
-#       endif // !(LMI_GCC_VERSION < 40902)
+#       endif // !(LMI_GCC_VERSION < 40901)
 #   else  // !defined __GNUC__
 #       define LMI_SO_FWD_DECL LMI_SO
 #   endif // !defined __GNUC__




reply via email to

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