Hints and warnings are only emitted for the main package that is compiled
This commit is contained in:
Andreas Rumpf 2016-05-28 17:12:44 +02:00
commit 0b84ee167b
4 changed files with 18 additions and 1 deletions

View file

@ -500,12 +500,14 @@ type
ESuggestDone* = object of Exception
const
ForeignPackageNotes*: TNoteKinds = {hintProcessing, warnUnknownMagic,
hintQuitCalled}
NotesVerbosity*: array[0..3, TNoteKinds] = [
{low(TNoteKind)..high(TNoteKind)} - {warnShadowIdent, warnUninit,
warnProveField, warnProveIndex,
warnGcUnsafe,
hintSuccessX, hintPath, hintConf,
hintProcessing,
hintProcessing, hintPattern,
hintDependency,
hintExecuting, hintLinking,
hintCodeBegin, hintCodeEnd,