[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 649d990 02/10: Improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 649d990 02/10: Improve documentation |
Date: |
Sat, 11 Mar 2017 17:24:20 -0500 (EST) |
branch: master
commit 649d990970f875bdaf49cace9e5dcd4ea4710bbb
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve documentation
---
so_attributes.hpp | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/so_attributes.hpp b/so_attributes.hpp
index 90e2117..b2f8c12 100644
--- a/so_attributes.hpp
+++ b/so_attributes.hpp
@@ -25,11 +25,11 @@
// If LMI_USE_SO_ATTRIBUTES is not defined, then LMI_SO is ignored.
// This is the default behavior. Otherwise:
//
-// - For gcc-3.4 or later, if the platform is not msw, then elf is
-// assumed, and symbols decorated with LMI_SO have 'default'
-// visibility. This is intended to be used with '-fvisibility=hidden'.
-// This implementation hasn't yet been tested; it is based on
-// comments given here
+// - For gcc (or any other toolchain that defines gcc macros), if the
+// platform is not msw, then elf is assumed, and symbols decorated
+// with LMI_SO have 'default' visibility. This is intended to be used
+// with '-fvisibility=hidden'. This implementation hasn't yet been
+// tested; it is based on comments given here
// http://mail.python.org/pipermail/c++-sig/2004-April/007139.html
// by the author of the gcc 'visibility' patch.
//
@@ -56,6 +56,7 @@
// compatible attribute for symbol visibility, a feature for which
// significant benefits are claimed:
// http://www.nedprod.com/programs/gccvisibility.html
+// https://gcc.gnu.org/wiki/Visibility
// The elf 'visibility' and msw dll 'declspec' attributes are similar
// enough to use the same decoration macro, but they do different
// things. In code that uses the shared object, the macro has an
- [lmi-commits] [lmi] master updated (e41c2a5 -> 14a3331), Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master 4d5ba79 03/10: Improve #error messages, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master a1d3016 01/10: Improve a MinGW conditional, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master cdd64d2 04/10: Remove a superannuated gcc conditional, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master 649d990 02/10: Improve documentation,
Greg Chicares <=
- [lmi-commits] [lmi] master d5d71f8 08/10: Refactor for simplicity, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master 58c9fdf 05/10: Make a precondition check unconditional, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master a4d4c24 06/10: Treat unknown platform as an error, uniformly, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master b1c6af9 07/10: Use similar logic for ELF and PE-COFF, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master b29be96 09/10: Extend in the spirit of ELF visibility, Greg Chicares, 2017/03/11
- [lmi-commits] [lmi] master 14a3331 10/10: Reuse recent so_attributes work for wx_new [394], Greg Chicares, 2017/03/11