mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-06 15:49:35 +03:00
Disable nuisance warnings on borland compilers. ticket #2936. (CVS 4982)
FossilOrigin-Name: 1e094ecfd7c6feaf8d524aa3c1477910b2328946
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** Internal interface definitions for SQLite.
|
||||
**
|
||||
** @(#) $Id: sqliteInt.h,v 1.690 2008/04/10 13:33:18 drh Exp $
|
||||
** @(#) $Id: sqliteInt.h,v 1.691 2008/04/10 16:47:42 drh Exp $
|
||||
*/
|
||||
#ifndef _SQLITEINT_H_
|
||||
#define _SQLITEINT_H_
|
||||
@@ -23,6 +23,15 @@
|
||||
#include "config.h"
|
||||
#include "sqliteLimit.h"
|
||||
|
||||
/* Disable nuisance warnings on Borland compilers */
|
||||
#if defined(__BORLANDC__)
|
||||
#pragma warn -rch /* unreachable code */
|
||||
#pragma warn -ccc /* Condition is always true or false */
|
||||
#pragma warn -aus /* Assigned value is never used */
|
||||
#pragma warn -csu /* Comparing signed and unsigned */
|
||||
#pragma warn -spa /* Suspicous pointer arithmetic */
|
||||
#endif
|
||||
|
||||
/* Needed for various definitions... */
|
||||
#define _GNU_SOURCE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user