diff options
author | nyamatongwe <devnull@localhost> | 2001-04-04 03:39:08 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-04-04 03:39:08 +0000 |
commit | 55a8331df687b8a0bb2f7b8c814f24df1ad8b198 (patch) | |
tree | d7d7e854f1659b0ca6f28f217edcddefda42f04d /src/PosRegExp.cxx | |
parent | a1e68d0148853c74ec7f8cb0b10a5f810a0262b5 (diff) | |
download | scintilla-mirror-55a8331df687b8a0bb2f7b8c814f24df1ad8b198.tar.gz |
Avoid compiler and BoundsChecker warnings.
Diffstat (limited to 'src/PosRegExp.cxx')
-rw-r--r-- | src/PosRegExp.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/PosRegExp.cxx b/src/PosRegExp.cxx index 01870848d..eb240e2fb 100644 --- a/src/PosRegExp.cxx +++ b/src/PosRegExp.cxx @@ -8,7 +8,14 @@ #ifdef _MSC_VER #pragma warning(disable: 4244) #endif - +#ifdef __BORLANDC__ +// Too much effort to to cean this code up so just ignore badly +// bracketed initialisers, conversions losing significant digits, +// and values assigned but not used. +#pragma warn -pin +#pragma warn -sig +#pragma warn -aus +#endif //Up: /[A-Z \x80-\x9f \xf0 ]/x //Lo: /[a-z \xa0-\xaf \xe0-\xef \xf1 ]/x //Wd: /[\d _ A-Z a-z \xa0-\xaf \xe0-\xf1 \x80-\x9f]/x |