summaryrefslogtreecommitdiff
path: root/ws_symbol_export.h
AgeCommit message (Collapse)AuthorFilesLines
2013-08-15Add $Id$.Guy Harris1-0/+2
svn path=/trunk/; revision=51376
2013-07-04More details in a comment.Guy Harris1-3/+9
svn path=/trunk/; revision=50382
2013-07-04Add more comments indicating what this is doing.Guy Harris1-2/+21
svn path=/trunk/; revision=50379
2013-07-03WS_DLL_PUBLIC is now always WS_DLL_PUBLIC_NOEXTERN with "extern" added;Guy Harris1-17/+17
just define WS_DLL_PUBLIC_NOEXTERN inside the ifdefs, and define WS_DLL_PUBLIC as WS_DLL_PUBLIC_NOEXTERN followed by "extern". Then rename WS_DLL_PUBLIC_NOEXTERN to WS_DLL_PUBLIC_DEF, to clarify that it's what should be used for definitions; at least on Windows, you *have* to use it when declaring arrays without a size, and, whilst you might be able to use WS_DLL_PUBLIC for definitions of functions and perhaps data definitions other than no-size arrays, it might be clearer to rename WS_DLL_PUBLIC to WS_DLL_PUBLIC_DECL and use it only for declarations. svn path=/trunk/; revision=50334
2013-07-03OK, try having WS_DLL_PUBLIC always say "extern". If *that* doesn'tGuy Harris1-6/+44
work, because it can't be used with definitions, we'll probably have to have separate macros for declarations and definitions, as I don't think MSVC likes int foo[]; in a header file but should be fine with extern int foo[]; Add some more comments while we're at it; you are in a twisty little maze of #ifdefs, all different. svn path=/trunk/; revision=50332
2013-07-02Methinks the "not GCC 4 or later" #defines for WS_DLL_PUBLIC andGuy Harris1-4/+4
WS_DLL_LOCAL were reversed; that might be what's causing a build error with ui/qt/main_status_bar.cpp. Add some comments for #else's while we're at it, so it's easier to figure out when particular sets of #defines are used. svn path=/trunk/; revision=50329
2013-03-07From Balint:Gerald Combs1-0/+24
[PATCH 1/2] Revert "Try to fix the "LNK4217: locally defined symbol" warnings. This reverts commit r48158. [PATCH 2/2] Employ small hack in editcap to link with a few objects from libwireshark properly From me: Add the ability to reset symbol exports via ws_symbol_export.h's include guard and do so in capinfos.c and editcap.c. We include ws_symbol_export.h in over 200 files so it didn't seem to make sense to remove its include guard entirely. svn path=/trunk/; revision=48170
2013-03-02Revert "Make Solaris Studio hide internal shared library symbols by default"Balint Reczey1-1/+1
This reverts commit r48020. svn path=/trunk/; revision=48022
2013-03-02Make Solaris Studio hide internal shared library symbols by defaultBalint Reczey1-1/+1
svn path=/trunk/; revision=48020
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-2/+5
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-03-01Fix warning: C++ style comments are not allowed in ISO C90 [enabled by default]Anders Broman1-2/+2
svn path=/trunk/; revision=47971
2013-02-28Export libwsutil symbols using WS_DLL_PUBLIC defineBalint Reczey1-0/+54
This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938