<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Ninja: error with cc"
   href="http://llvm.org/bugs/show_bug.cgi?id=16311">16311</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Ninja: error with cc
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pedro.delgadoperez@mail.uca.es
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have followed the instructions in step 0 here:


When I finally run ninja, obtain the next error:

Building C object lib/Support...keFiles/LLVMSupport.dir/ConvertUTF.c.o
FAILED: /usr/bin/cc  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic
-Wno-long-long -fcolor-diagnostics -Ilib/Support
-I/home/pedro/clang-llvm/llvm/lib/Support -Iinclude
-I/home/pedro/clang-llvm/llvm/include    -fno-exceptions -MMD -MT
lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o -MF
"lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o.d" -o
lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o   -c
/home/pedro/clang-llvm/llvm/lib/Support/ConvertUTF.c

cc: error: no se reconoce la opción de línea de órdenes ‘-fcolor-diagnostics’

[6/2231] Building CXX object lib/Suppo...les/LLVMSupport.dir/IntEqClasses.cpp.o
ninja: build stopped: subcommand failed.


I don't know why the -fcolor-diagnostics is enabled and how could I disable it.
Is it important in this case? I followed these instructions in another computer
two months ago and I didn't have this problem. Might it be a problem with the
versions? 

Thanks,

Pedro.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>