Skip to content

Commit 7296a28

Browse files
committed
Add GCC diagnostic push for common warnings
1 parent 39a4480 commit 7296a28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/SQLCipher/sqlite/sqlite3.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
#ifndef SQLITE_PRIVATE
6363
# define SQLITE_PRIVATE static
6464
#endif
65+
66+
// added for SkipSQLPlus
67+
#pragma GCC diagnostic push
68+
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
69+
#pragma GCC diagnostic ignored "-Wambiguous-macro"
70+
6571
/************** Begin file sqliteInt.h ***************************************/
6672
/*
6773
** 2001 September 15

0 commit comments

Comments
 (0)