[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
commit b74b914e4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"