2008-06-05 03:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* contrib/hbsqlit3/hbsqlit3.c
     * Suppressed MSVC warnings in foreign code.
     ; Added NOTE that suppressing warnings with #pragmas 
       is not possible in GCC.
This commit is contained in:
Viktor Szakats
2008-06-05 01:17:10 +00:00
parent 00ef6eea0f
commit 363950dc8b
2 changed files with 12 additions and 0 deletions

View File

@@ -8,6 +8,12 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-06-05 03:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit3/hbsqlit3.c
* Suppressed MSVC warnings in foreign code.
; Added NOTE that suppressing warnings with #pragmas
is not possible in GCC.
2008-06-05 02:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbpgsql/postgres.c
! Don't request windows.h.

View File

@@ -35,6 +35,8 @@
char *sqlite3_snprintf(int,char*,const char*, ...);
*/
/* NOTE: It's not possible to suppress warnings in GCC (as of 2008)
[vszakats] */
#if defined( __BORLANDC__ )
#pragma warn -aus
#pragma warn -use
@@ -42,6 +44,8 @@
#pragma warn -prc
#pragma warn -eff
#pragma warn -amp
#elif defined( _MSC_VER )
#pragma warning( disable: 4018 4244 )
#endif
#include "sqlite3/sqlite3.c"
#if defined( __BORLANDC__ )
@@ -51,6 +55,8 @@
#pragma warn +prc
#pragma warn +eff
#pragma warn +amp
#elif defined( _MSC_VER )
#pragma warning( default: 4018 4244 )
#endif
#ifdef NODLL