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

View file

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

View file

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

View file

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

View file

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