]> granicus.if.org Git - clang/commitdiff
gcc is now returning the same output on this example, removing this example
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 14 Sep 2018 08:52:18 +0000 (08:52 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 14 Sep 2018 08:52:18 +0000 (08:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342211 91177308-0d34-0410-b5e6-96231b3b80d8

www/diagnostics.html

index 2c9c7913612d9cf5298c748f1155439c6ec82ed0..2bb8685b2dc016a1bb7c7f9a5bdcca4829d8db51 100755 (executable)
@@ -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>