Hi, I want to see any warning that are produced when I build llvm (in particular, those in code I'm writing). Before I do something quick and dirty with tee and grep, I was wondering if there was already something available to, for example, reprint warnings after a build completes? Thanks, --Paul
Hi Paul, That should be easy enough, because the LLVM build has no warnings in it! Some of us build with -Werror, and even with those of us that don't warnings are not tolerated. You're already seeing all the warnings that are coming out of the build :) Cheers, James ________________________________________ From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] On Behalf Of Paul Berube [pberube at ualberta.ca] Sent: 21 October 2011 23:07 To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] build warnings Hi, I want to see any warning that are produced when I build llvm (in particular, those in code I'm writing). Before I do something quick and dirty with tee and grep, I was wondering if there was already something available to, for example, reprint warnings after a build completes? Thanks, --Paul _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
On Sat, Oct 22, 2011 at 12:24 AM, James Molloy wrote:> Hi Paul, > > That should be easy enough, because the LLVM build has no warnings in it! > > Some of us build with -Werror, and even with those of us that don't warnings are not tolerated. You're already seeing all the warnings that are coming out of the build :)So, all the "variable might be used uninitialized" warnings are in clang ? Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds
On 10/21/11 16:24, James Molloy wrote:> > That should be easy enough, because the LLVM build has no warnings in > it!The warnings would not be in the released LLVM, but rather in the code that I am developing inside of LLVM (eg, a new pass). -Werror is a good call, and probably the simplest thing I can do too. Thanks --Paul