summaryrefslogtreecommitdiff
path: root/tests/test/tmainnam.pp
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-11-03 21:18:27 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-11-03 21:18:27 +0000
commitb1b42155e3b45dce935adab290f8ddad1c144578 (patch)
tree3d99f4ecfa68a5d96361331daed234229b01f31c /tests/test/tmainnam.pp
parent92f3795a1ab31435750ef21be045f579ba8f84e5 (diff)
downloadfpc-b1b42155e3b45dce935adab290f8ddad1c144578.tar.gz
* delay verbosity changes just like localswitches changes
* store a node's verbosity in the node so that e.g. disabling warnings also disables warnings for this node in pass_1 (the above together fix mantis #12076) * save/restore verbosity with {$push}/{$pop} (mantis #12075) * if warnings/notes/hints are turned off, also do not count encountered ones for the totals (otherwise -Sew cannot be used properly in combination with {$warnings off}, because disabled warnings will still trigger a compiler error) -- this required adding -vw/-vn/-vh to all tests using -Sew/-Sen/-Seh - removed some superfluous state saving/restoring from firstpass() git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@12025 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/test/tmainnam.pp')
-rw-r--r--tests/test/tmainnam.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test/tmainnam.pp b/tests/test/tmainnam.pp
index fa0fd2b787..8b00332c2d 100644
--- a/tests/test/tmainnam.pp
+++ b/tests/test/tmainnam.pp
@@ -1,6 +1,6 @@
{ %recompile }
{ %fail }
-{ %opt=-Sew -Cn }
+{ %opt=-vw -Sew -Cn }
uses umainnam;