summaryrefslogtreecommitdiff
path: root/www/diagnostics.html
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2018-09-14 08:52:18 +0000
committerSylvestre Ledru <sylvestre@debian.org>2018-09-14 08:52:18 +0000
commit44383fe7b47c76327b4c4ec228b5642e87185652 (patch)
treede8eb5b9fcb24705f0f6b1e38b31c2a3022e4486 /www/diagnostics.html
parentf544500eef9c808fde904c07befdf11fb0cc3b75 (diff)
downloadclang-44383fe7b47c76327b4c4ec228b5642e87185652.tar.gz
gcc is now returning the same output on this example, removing this example
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/diagnostics.html')
-rwxr-xr-xwww/diagnostics.html6
1 files changed, 0 insertions, 6 deletions
diff --git a/www/diagnostics.html b/www/diagnostics.html
index 2c9c791361..2bb8685b2d 100755
--- a/www/diagnostics.html
+++ b/www/diagnostics.html
@@ -51,12 +51,6 @@ helps when multiple instances of the same character occur on a line. (We'll
revisit this more in following examples.)</p>
<pre>
- $ <span class="cmd">gcc-4.9 -fsyntax-only -Wformat format-strings.c</span>
- format-strings.c: In function 'void f()':
- format-strings.c:91:16: warning: field precision specifier '.*' expects a matching 'int' argument [-Wformat=]
- printf("%.*d");
- ^
- format-strings.c:91:16: warning: format '%d' expects a matching 'int' argument [-Wformat=]
$ <span class="cmd">clang -fsyntax-only format-strings.c</span>
<span class="loc">format-strings.c:91:13:</span> <span class="warn">warning:</span> <span class="msg">'.*' specified field precision is missing a matching 'int' argument</span>
<span class="snip" > printf("%.*d");</span>