diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-06-25 12:27:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-06-25 12:27:12 -0300 |
commit | 8efaf8af81ec1daf7a9881373d08a01fc2dc72e4 (patch) | |
tree | a11c1660ab8f103073f3a6bc3a9b99ddcba87f58 | |
parent | c3525610fea8554e6ee4cb9bdd144d25764ddfad (diff) | |
download | lua-8efaf8af81ec1daf7a9881373d08a01fc2dc72e4.tar.gz lua-8efaf8af81ec1daf7a9881373d08a01fc2dc72e4.tar.bz2 lua-8efaf8af81ec1daf7a9881373d08a01fc2dc72e4.zip |
added a comment about warnings for __attribute__(visibility) in some
elf targets
-rw-r--r-- | luaconf.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.96 2008/02/11 19:17:19 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.97 2008/04/07 18:58:42 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -182,7 +182,11 @@ | |||
182 | @* be exported to outside modules. | 182 | @* be exported to outside modules. |
183 | ** CHANGE them if you need to mark them in some special way. Elf/gcc | 183 | ** CHANGE them if you need to mark them in some special way. Elf/gcc |
184 | ** (versions 3.2 and later) mark them as "hidden" to optimize access | 184 | ** (versions 3.2 and later) mark them as "hidden" to optimize access |
185 | ** when Lua is compiled as a shared library. | 185 | ** when Lua is compiled as a shared library. Not all elf targets support |
186 | ** this attribute. Unfortunately, gcc does not offer a way to check | ||
187 | ** whether the target offers that support, and those without support | ||
188 | ** give a warning about it. To avoid these warnings, change to the | ||
189 | ** default definition. | ||
186 | */ | 190 | */ |
187 | #if defined(luaall_c) | 191 | #if defined(luaall_c) |
188 | #define LUAI_FUNC static | 192 | #define LUAI_FUNC static |