[PATCH] Fixing warnings revealed by gcc release build

Edwin Vane edwin.vane at intel.com
Tue Jan 29 08:29:27 PST 2013


  What do you mean by "when -Wno-maybe-uninitialized is available"? Do you mean to test gcc's version?

  Also, as for (void), I used them only in situations where I couldn't move the store into the assert() or DEBUG() code that was using the variable. Most of these situations are because there's some non-trivial control flow happening where the variable is set. I tried to find the recommended LLVM solution to this problem and the coding standard actually said to use (void). Should I have done something else?

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



More information about the llvm-commits mailing list