[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 000b7e6 2/4: Fix the SO attribute for the cla
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 000b7e6 2/4: Fix the SO attribute for the class forward delaration |
Date: |
Sun, 18 Oct 2020 12:02:31 -0400 (EDT) |
branch: master
commit 000b7e6fea89aa46d9ece528e2d2499cbef1962c
Author: Ilya Sinitsyn <isinitsyn@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix the SO attribute for the class forward delaration
Fix the error for the Linux native build:
error: type attributes ignored after type is already defined
[-Werror=attributes]
---
so_attributes.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/so_attributes.hpp b/so_attributes.hpp
index b8511df..d35b05d 100644
--- a/so_attributes.hpp
+++ b/so_attributes.hpp
@@ -124,7 +124,7 @@
# if defined LMI_MINGW_W64
# define LMI_SO_FWD_DECL
# else // !defined LMI_MINGW_W64
-# define LMI_SO_FWD_DECL LMI_SO
+# define LMI_SO_FWD_DECL
# endif // !defined LMI_MINGW_W64
# else // !defined __GNUC__
# define LMI_SO_FWD_DECL LMI_SO