[backport] use old style hints in .cfg files (#18917)

refs #18085
This commit is contained in:
Miran
2021-09-29 11:14:47 +02:00
committed by GitHub
parent f061971a9b
commit b74b914e4f
5 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
# Special configuration file for the Nim project
hint:XDeclaredButNotUsed:off
hint[XDeclaredButNotUsed]:off
define:booting
define:nimcore
@@ -23,7 +23,7 @@ define:useStdoutAsStdmsg
#gc:markAndSweep
@if nimHasWarningObservableStores:
warning:ObservableStores: off
warning[ObservableStores]: off
@end
@if nimHasEffectsOf:

View File

@@ -1,7 +1,7 @@
# Special configuration file for the Nim project
# gc:markAndSweep
hint:XDeclaredButNotUsed:off
hint[XDeclaredButNotUsed]:off
path:"$projectPath/.."
path:"$lib/packages/docutils"

View File

@@ -13,8 +13,8 @@ cc = gcc
# additional options always passed to the compiler:
--parallel_build: "0" # 0 to auto-detect number of processors
hint:LineTooLong:off
#hint:XDeclaredButNotUsed:off
hint[LineTooLong]=off
#hint[XDeclaredButNotUsed]=off
# Examples of how to setup a cross-compiler:

View File

@@ -1,6 +1,6 @@
# Special configuration file for the Nim project
hint:XDeclaredButNotUsed:off
hint[XDeclaredButNotUsed]:off
define:booting
define:nimcore

View File

@@ -2,7 +2,7 @@
gc:markAndSweep
hint:XDeclaredButNotUsed:off
hint[XDeclaredButNotUsed]:off
path:"$lib/packages/docutils"