aboutsummaryrefslogtreecommitdiffstats
path: root/ws_symbol_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'ws_symbol_export.h')
-rw-r--r--ws_symbol_export.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/ws_symbol_export.h b/ws_symbol_export.h
index 562dccf0b9..ed49ba80ae 100644
--- a/ws_symbol_export.h
+++ b/ws_symbol_export.h
@@ -129,9 +129,15 @@
#endif
/*
- * Use this for declarations; it can also be used for exported
- * *function* definitions, but must not be used for exported *data*
- * definitions.
+ * You *must* use this for exported data *declarations*; if you use
+ * WS_DLL_PUBLIC_DEF, some compilers, such as MSVC++, will complain
+ * about array definitions with no size.
+ *
+ * You must *not* use this for exported data *definitions*, as that
+ * will, for some compilers, cause warnings about items being initialized
+ * and declared extern.
+ *
+ * Either can be used for exported *function* declarations and definitions.
*/
#define WS_DLL_PUBLIC WS_DLL_PUBLIC_DEF extern