Skip to content

Commit

Permalink
Disable link hint by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Clyybber committed Mar 8, 2020
1 parent eae31a7 commit 827928b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/extccomp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ proc addExternalFileToLink*(conf: ConfigRef; filename: AbsoluteFile) =
conf.externalToLink.insert(filename.string, 0)

proc execWithEcho(conf: ConfigRef; cmd: string, msg = hintExecuting): int =
rawMessage(conf, msg, if msg == hintLinking and not(optListCmd in conf.globalOptions or conf.verbosity > 1): "" else: cmd)
rawMessage(conf, msg, cmd)
result = execCmd(cmd)

proc execExternalProgram*(conf: ConfigRef; cmd: string, msg = hintExecuting) =
Expand Down
1 change: 1 addition & 0 deletions config/nim.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ cc = gcc
--parallel_build: "0" # 0 to auto-detect number of processors

hint[LineTooLong]=off
hint[Link]=off
#hint[XDeclaredButNotUsed]=off

# Examples of how to setup a cross-compiler:
Expand Down

0 comments on commit 827928b

Please sign in to comment.