diff options
-rw-r--r-- | lib/impure/db_sqlite.nim | 2 | ||||
-rw-r--r-- | lib/impure/rdstdin.nim | 1 | ||||
-rw-r--r-- | lib/posix/epoll.nim | 2 | ||||
-rw-r--r-- | lib/posix/linux.nim | 2 | ||||
-rw-r--r-- | lib/posix/posix.nim | 1 | ||||
-rw-r--r-- | lib/posix/posix_macos_amd64.nim | 2 | ||||
-rw-r--r-- | lib/posix/posix_openbsd_amd64.nim | 2 | ||||
-rw-r--r-- | lib/posix/posix_other.nim | 2 | ||||
-rw-r--r-- | lib/posix/posix_utils.nim | 2 | ||||
-rw-r--r-- | lib/posix/termios.nim | 1 | ||||
-rw-r--r-- | lib/pure/fenv.nim | 2 | ||||
-rw-r--r-- | lib/pure/net.nim | 1 | ||||
-rw-r--r-- | lib/pure/parseutils.nim | 3 | ||||
-rw-r--r-- | lib/pure/ropes.nim | 2 | ||||
-rw-r--r-- | lib/pure/strmisc.nim | 2 | ||||
-rw-r--r-- | lib/pure/unicode.nim | 3 | ||||
-rw-r--r-- | lib/windows/winlean.nim | 2 | ||||
-rw-r--r-- | lib/wrappers/iup.nim | 2 | ||||
-rw-r--r-- | lib/wrappers/mysql.nim | 1 | ||||
-rw-r--r-- | lib/wrappers/odbcsql.nim | 2 | ||||
-rw-r--r-- | lib/wrappers/openssl.nim | 1 | ||||
-rw-r--r-- | lib/wrappers/pcre.nim | 2 | ||||
-rw-r--r-- | lib/wrappers/postgres.nim | 1 | ||||
-rw-r--r-- | lib/wrappers/sqlite3.nim | 2 |
24 files changed, 0 insertions, 43 deletions
diff --git a/lib/impure/db_sqlite.nim b/lib/impure/db_sqlite.nim index f182ae65a..74ba169aa 100644 --- a/lib/impure/db_sqlite.nim +++ b/lib/impure/db_sqlite.nim @@ -113,8 +113,6 @@ ## * `db_mysql module <db_mysql.html>`_ for MySQL database wrapper ## * `db_postgres module <db_postgres.html>`_ for PostgreSQL database wrapper -{.deadCodeElim: on.} # dce option deprecated - import sqlite3 import db_common diff --git a/lib/impure/rdstdin.nim b/lib/impure/rdstdin.nim index 670b5ab72..9dbbd97ae 100644 --- a/lib/impure/rdstdin.nim +++ b/lib/impure/rdstdin.nim @@ -20,7 +20,6 @@ ## var userResponse: string ## doAssert readLineFromStdin("How are you?:", line = userResponse) ## echo userResponse -{.deadCodeElim: on.} # dce option deprecated when defined(Windows): proc readLineFromStdin*(prompt: string): TaintedString {. diff --git a/lib/posix/epoll.nim b/lib/posix/epoll.nim index 2236bb16b..74433631d 100644 --- a/lib/posix/epoll.nim +++ b/lib/posix/epoll.nim @@ -7,8 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated - from posix import SocketHandle const diff --git a/lib/posix/linux.nim b/lib/posix/linux.nim index 25c7c7979..680b61461 100644 --- a/lib/posix/linux.nim +++ b/lib/posix/linux.nim @@ -1,5 +1,3 @@ -{.deadCodeElim: on.} # dce option deprecated - import posix const diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index f69d42cdd..dbc9f5109 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -33,7 +33,6 @@ # Dead code elimination ensures that we don't accidentally generate #includes # for files that might not exist on a specific platform! The user will get an # error only if they actually try to use the missing declaration -{.deadCodeElim: on.} # dce option deprecated when defined(nimHasStyleChecks): {.push styleChecks: off.} diff --git a/lib/posix/posix_macos_amd64.nim b/lib/posix/posix_macos_amd64.nim index 8a20d127f..536d51be5 100644 --- a/lib/posix/posix_macos_amd64.nim +++ b/lib/posix/posix_macos_amd64.nim @@ -7,8 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated - when defined(nimHasStyleChecks): {.push styleChecks: off.} diff --git a/lib/posix/posix_openbsd_amd64.nim b/lib/posix/posix_openbsd_amd64.nim index d9ac84a1d..408e42255 100644 --- a/lib/posix/posix_openbsd_amd64.nim +++ b/lib/posix/posix_openbsd_amd64.nim @@ -7,8 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated - when defined(nimHasStyleChecks): {.push styleChecks: off.} diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim index e42092513..8213f796c 100644 --- a/lib/posix/posix_other.nim +++ b/lib/posix/posix_other.nim @@ -7,8 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated - when defined(nimHasStyleChecks): {.push styleChecks: off.} diff --git a/lib/posix/posix_utils.nim b/lib/posix/posix_utils.nim index 5600a5db5..5dbb163ca 100644 --- a/lib/posix/posix_utils.nim +++ b/lib/posix/posix_utils.nim @@ -11,8 +11,6 @@ # Where possible, contribute OS-independent procs in `os <os.html>`_ instead. -{.deadCodeElim: on.} # dce option deprecated - import posix type Uname* = object diff --git a/lib/posix/termios.nim b/lib/posix/termios.nim index 6a7ffb33e..b03ce74f3 100644 --- a/lib/posix/termios.nim +++ b/lib/posix/termios.nim @@ -7,7 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated import posix type diff --git a/lib/pure/fenv.nim b/lib/pure/fenv.nim index 6da6aedad..53b3e3b50 100644 --- a/lib/pure/fenv.nim +++ b/lib/pure/fenv.nim @@ -10,8 +10,6 @@ ## Floating-point environment. Handling of floating-point rounding and ## exceptions (overflow, division by zero, etc.). -{.deadCodeElim: on.} # dce option deprecated - when defined(Posix) and not defined(genode): {.passl: "-lm".} diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 261f83583..593e5c76e 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -66,7 +66,6 @@ include "system/inclrtl" -{.deadCodeElim: on.} # dce option deprecated import nativesockets, os, strutils, times, sets, options, std/monotimes from ssl_certs import scanSSLCertificates export nativesockets.Port, nativesockets.`$`, nativesockets.`==` diff --git a/lib/pure/parseutils.nim b/lib/pure/parseutils.nim index 6116751ff..c358005f1 100644 --- a/lib/pure/parseutils.nim +++ b/lib/pure/parseutils.nim @@ -45,9 +45,6 @@ ## * `parsexml module<parsexml.html>`_ for a XML / HTML parser ## * `other parsers<lib.html#pure-libraries-parsers>`_ for other parsers - -{.deadCodeElim: on.} # dce option deprecated - {.push debugger: off.} # the user does not want to trace a part # of the standard library! diff --git a/lib/pure/ropes.nim b/lib/pure/ropes.nim index 1205584db..f5023cb6c 100644 --- a/lib/pure/ropes.nim +++ b/lib/pure/ropes.nim @@ -19,8 +19,6 @@ include "system/inclrtl" import streams -{.deadCodeElim: on.} # dce option deprecated - {.push debugger: off.} # the user does not want to trace a part # of the standard library! diff --git a/lib/pure/strmisc.nim b/lib/pure/strmisc.nim index 43437ddb4..02bbdbcf4 100644 --- a/lib/pure/strmisc.nim +++ b/lib/pure/strmisc.nim @@ -12,8 +12,6 @@ import strutils -{.deadCodeElim: on.} # dce option deprecated - proc expandTabs*(s: string, tabSize: int = 8): string {.noSideEffect, procvar.} = ## Expand tab characters in `s` replacing them by spaces. diff --git a/lib/pure/unicode.nim b/lib/pure/unicode.nim index d166721d1..65509b2b2 100644 --- a/lib/pure/unicode.nim +++ b/lib/pure/unicode.nim @@ -20,9 +20,6 @@ ## * `unidecode module <unidecode.html>`_ ## * `encodings module <encodings.html>`_ - -{.deadCodeElim: on.} # dce option deprecated - include "system/inclrtl" type diff --git a/lib/windows/winlean.nim b/lib/windows/winlean.nim index 13a70d6ef..ee8c2343a 100644 --- a/lib/windows/winlean.nim +++ b/lib/windows/winlean.nim @@ -10,8 +10,6 @@ ## This module implements a small wrapper for some needed Win API procedures, ## so that the Nim compiler does not depend on the huge Windows module. -{.deadCodeElim: on.} # dce option deprecated - import dynlib when defined(nimHasStyleChecks): diff --git a/lib/wrappers/iup.nim b/lib/wrappers/iup.nim index 1a9e6ab3e..3c1ff1483 100644 --- a/lib/wrappers/iup.nim +++ b/lib/wrappers/iup.nim @@ -34,8 +34,6 @@ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # **************************************************************************** -{.deadCodeElim: on.} # dce option deprecated - when defined(windows): const dllname = "iup(|30|27|26|25|24).dll" elif defined(macosx): diff --git a/lib/wrappers/mysql.nim b/lib/wrappers/mysql.nim index f8d4739ae..209f63c21 100644 --- a/lib/wrappers/mysql.nim +++ b/lib/wrappers/mysql.nim @@ -7,7 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated {.push, callconv: cdecl.} when defined(nimHasStyleChecks): {.push styleChecks: off.} diff --git a/lib/wrappers/odbcsql.nim b/lib/wrappers/odbcsql.nim index 14dd10ae3..be56b75d3 100644 --- a/lib/wrappers/odbcsql.nim +++ b/lib/wrappers/odbcsql.nim @@ -7,8 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated - when not defined(ODBCVER): const ODBCVER = 0x0351 ## define ODBC version 3.51 by default diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim index 94da4fc79..9dafe2300 100644 --- a/lib/wrappers/openssl.nim +++ b/lib/wrappers/openssl.nim @@ -22,7 +22,6 @@ ## ./bin/nim c -d:ssl -p:. -r tests/untestable/tssl.nim ## ./bin/nim c -d:ssl -p:. --dynlibOverride:ssl --passl:-lcrypto --passl:-lssl -r tests/untestable/tssl.nim -{.deadCodeElim: on.} # dce option deprecated when defined(nimHasStyleChecks): {.push styleChecks: off.} diff --git a/lib/wrappers/pcre.nim b/lib/wrappers/pcre.nim index 7012053b7..9144f6784 100644 --- a/lib/wrappers/pcre.nim +++ b/lib/wrappers/pcre.nim @@ -7,8 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated - # The current PCRE version information. const diff --git a/lib/wrappers/postgres.nim b/lib/wrappers/postgres.nim index c90116ea2..24eac54f9 100644 --- a/lib/wrappers/postgres.nim +++ b/lib/wrappers/postgres.nim @@ -15,7 +15,6 @@ # connection-protocol. # -{.deadCodeElim: on.} # dce option deprecated when defined(nimHasStyleChecks): {.push styleChecks: off.} diff --git a/lib/wrappers/sqlite3.nim b/lib/wrappers/sqlite3.nim index f4ec6180f..6fc6c7aa7 100644 --- a/lib/wrappers/sqlite3.nim +++ b/lib/wrappers/sqlite3.nim @@ -7,8 +7,6 @@ # distribution, for details about the copyright. # -{.deadCodeElim: on.} # dce option deprecated - when defined(nimHasStyleChecks): {.push styleChecks: off.} |