mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +02:00
GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using compiler flag pedantic
This commit is contained in:
parent
aab3b51f62
commit
ef9cda6666
@ -37,7 +37,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(CppUnit_API)
|
#if !defined(CppUnit_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define CppUnit_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define CppUnit_API
|
#define CppUnit_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -90,7 +90,11 @@ enum RSAPaddingMode
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(Crypto_API)
|
#if !defined(Crypto_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define Crypto_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define Crypto_API
|
#define Crypto_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -61,7 +61,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(MySQL_API)
|
#if !defined(MySQL_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define MySQL_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define MySQL_API
|
#define MySQL_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(ODBC_API)
|
#if !defined(ODBC_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define ODBC_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define ODBC_API
|
#define ODBC_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(SQLite_API)
|
#if !defined(SQLite_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define SQLite_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define SQLite_API
|
#define SQLite_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(Data_API)
|
#if !defined(Data_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define Data_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define Data_API
|
#define Data_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,7 +76,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(Foundation_API)
|
#if !defined(Foundation_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define Foundation_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define Foundation_API
|
#define Foundation_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(JSON_API)
|
#if !defined(JSON_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define JSON_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define JSON_API
|
#define JSON_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(Net_API)
|
#if !defined(Net_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define Net_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define Net_API
|
#define Net_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(NetSSL_API)
|
#if !defined(NetSSL_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define NetSSL_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define NetSSL_API
|
#define NetSSL_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -72,7 +72,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(PDF_API)
|
#if !defined(PDF_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define PDF_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define PDF_API
|
#define PDF_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(Util_API)
|
#if !defined(Util_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define Util_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define Util_API
|
#define Util_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(XML_API)
|
#if !defined(XML_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define XML_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define XML_API
|
#define XML_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(Zip_API)
|
#if !defined(Zip_API)
|
||||||
|
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#define Zip_API __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define Zip_API
|
#define Zip_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user