mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-07 19:26:10 -04:00
Fix Mingw build and suppress attribute warnings
This commit is contained in:
parent
b736d0a759
commit
82afee652b
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/* Windows DLL export/import */
|
||||
#if defined(_WIN32) && defined(SQLITECPP_COMPILE_DLL)
|
||||
#if defined(_WIN32)&& !defined(__GNUC__) && defined(SQLITECPP_COMPILE_DLL)
|
||||
#if SQLITECPP_DLL_EXPORT
|
||||
#define SQLITECPP_API __declspec(dllexport)
|
||||
#pragma message("Exporting symbols")
|
||||
|
@ -57,6 +57,7 @@ sqlitecpp_args = cxx.get_supported_arguments(
|
||||
'-Wswitch-enum',
|
||||
'-Wshadow',
|
||||
'-Wno-long-long',
|
||||
'-Wno-attributes',
|
||||
)
|
||||
sqlitecpp_link = []
|
||||
sqlitecpp_deps = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user