Deprecate DCE:on (#13839)

This commit is contained in:
Juan Carlos
2020-04-01 21:58:43 -03:00
committed by GitHub
parent afd0afe0a3
commit 46ca19ff18
24 changed files with 0 additions and 43 deletions

View File

@@ -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

View File

@@ -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 {.

View File

@@ -7,8 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
from posix import SocketHandle
const

View File

@@ -1,5 +1,3 @@
{.deadCodeElim: on.} # dce option deprecated
import posix
const

View File

@@ -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.}

View File

@@ -7,8 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
when defined(nimHasStyleChecks):
{.push styleChecks: off.}

View File

@@ -7,8 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
when defined(nimHasStyleChecks):
{.push styleChecks: off.}

View File

@@ -7,8 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
when defined(nimHasStyleChecks):
{.push styleChecks: off.}

View File

@@ -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

View File

@@ -7,7 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
import posix
type

View File

@@ -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".}

View File

@@ -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.`==`

View File

@@ -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!

View File

@@ -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!

View File

@@ -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.

View File

@@ -20,9 +20,6 @@
## * `unidecode module <unidecode.html>`_
## * `encodings module <encodings.html>`_
{.deadCodeElim: on.} # dce option deprecated
include "system/inclrtl"
type

View File

@@ -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):

View File

@@ -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):

View File

@@ -7,7 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
{.push, callconv: cdecl.}
when defined(nimHasStyleChecks):
{.push styleChecks: off.}

View File

@@ -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

View File

@@ -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.}

View File

@@ -7,8 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
# The current PCRE version information.
const

View File

@@ -15,7 +15,6 @@
# connection-protocol.
#
{.deadCodeElim: on.} # dce option deprecated
when defined(nimHasStyleChecks):
{.push styleChecks: off.}

View File

@@ -7,8 +7,6 @@
# distribution, for details about the copyright.
#
{.deadCodeElim: on.} # dce option deprecated
when defined(nimHasStyleChecks):
{.push styleChecks: off.}