diff options
author | nyamatongwe <unknown> | 2001-04-04 03:39:08 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-04-04 03:39:08 +0000 |
commit | b338ed2a95f184263c1e1c7782ba3706fa05858c (patch) | |
tree | d7d7e854f1659b0ca6f28f217edcddefda42f04d /src/PosRegExp.cxx | |
parent | 4a76af5c71efaf28a34e9399d985d74d23649ac2 (diff) | |
download | scintilla-mirror-b338ed2a95f184263c1e1c7782ba3706fa05858c.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 |