r342211 - gcc is now returning the same output on this example, removing this example
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 14 01:52:18 PDT 2018
Author: sylvestre
Date: Fri Sep 14 01:52:18 2018
New Revision: 342211
URL: http://llvm.org/viewvc/llvm-project?rev=342211&view=rev
Log:
gcc is now returning the same output on this example, removing this example
Modified:
cfe/trunk/www/diagnostics.html
Modified: cfe/trunk/www/diagnostics.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/diagnostics.html?rev=342211&r1=342210&r2=342211&view=diff
==============================================================================
--- cfe/trunk/www/diagnostics.html (original)
+++ cfe/trunk/www/diagnostics.html Fri Sep 14 01:52:18 2018
@@ -51,12 +51,6 @@ helps when multiple instances of the sam
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>
More information about the cfe-commits
mailing list