[Xfce-bugs] [Bug 11637] New: [xdt-features.m4] The -Wshadow flag shouldn't be used when enable_debug=full (-Werror)

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Mar 3 22:00:06 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11637

            Bug ID: 11637
           Summary: [xdt-features.m4] The -Wshadow flag shouldn't be used
                    when enable_debug=full (-Werror)
    Classification: Xfce
           Product: Xfce4-dev-tools
           Version: git
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: matt.59491 at gmail.com
                CC: hjudt at xfce.org

The '-Wshadow' flag  is broken in gcc and prevents valid code to be compiled
when '-Werror' flag is used. 

This is the case when enable_debug=full.
For example, 'xfce4-settings' cannot be compiled with enable_debug=full.

xdt-features.m4 needs a patch to remove '-Wshadow' when enable_debug='full'. It
can be kept with enable_debug='yes'

http://git.xfce.org/xfce/xfce4-dev-tools/tree/m4macros/xdt-features.m4

Arguments:
https://lkml.org/lkml/2006/11/28/239
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list