mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
fixes LineTooLong hints on old compilers (#22412)
* fixes LineTooLong hints on old compilers
* fixes config/nim.cfg
(cherry picked from commit bf5d173bc6)
This commit is contained in:
@@ -161,3 +161,4 @@ proc initDefines*(symbols: StringTableRef) =
|
||||
|
||||
defineSymbol("nimHasCastExtendedVm")
|
||||
defineSymbol("nimHasGenericsOpenSym2")
|
||||
defineSymbol("nimHasNolineTooLong")
|
||||
|
||||
@@ -16,6 +16,10 @@ cc = gcc
|
||||
|
||||
#hint[XDeclaredButNotUsed]=off
|
||||
|
||||
@if not nimHasNolineTooLong:
|
||||
hint[LineTooLong]=off
|
||||
@end
|
||||
|
||||
threads:on
|
||||
|
||||
# Examples of how to setup a cross-compiler:
|
||||
|
||||
Reference in New Issue
Block a user