Summary: | Enable treating warnings as errors | ||
---|---|---|---|
Product: | xorg | Reporter: | Bartosz Kosiorek <gang65> |
Component: | Driver/openchrome | Assignee: | Openchrome development list <openchrome-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | kevinbrace |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Bartosz Kosiorek
2016-06-21 08:37:35 UTC
(In reply to Bartosz Kosiorek from comment #0) Hi Bartosz, > Currently in Openchrome there are a lot of warnings. > It is causing that it is hard to notice, that some new warning appear. > > It is error prone, as developers could miss some new important warning and > introduce regression, which could be easily avoided by noticing warnings. > > To improve quality I would propose to enable "Make all warnings into > errors." option: > https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html I am pretty sure I am the one who introduced many of the warnings, and I am willing to deal with it to some extent for OpenChrome Version 0.6. That being said, can you tell me how to accomplish this exactly. Hi Bartosz, I overcame the problem by adding CFLAGS option to when autogen.sh is executed from the terminal. ./autogen.sh --prefix=/usr --enable-debug --enable-xv-debug --enable-viaregtool CFLAGS="-Wall" I can now see all the warnings. I now consider this problem resolved. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.