[PATCH] Fixing warnings revealed by gcc release build

Dmitri Gribenko gribozavr at gmail.com
Tue Jan 29 06:32:32 PST 2013


  -Wmaybe-uninitialized is not as precise in GCC as it is in Clang, and thus is disabled by configure (but by in CMake).  It was decided not to fix these.  If you care about CMake, it is better to change CMake build system to pass -Wno-maybe-uninitialized when it is available and the compiler is gcc.

  set-but-not-used: I don't think that silencing with (void) is a good idea.  It is better to just remove the store.

http://llvm-reviews.chandlerc.com/D341



More information about the llvm-commits mailing list