[Bug target/58944] [4.9 Regression] bogus -Wunused-macros warnings when compiling Libreoffice

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 17 13:44:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58944

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 31872
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31872&action=edit
gcc49-pr58944.patch

Untested fix.  It makes no sense to warn about these compiler predefined macros
with -Wunused-macros, the user has no control on what GCC predefines and what
it doesn't.  This patch seems to be the easiest hack for this.  rs6000 will
likely need similar change.



More information about the Gcc-bugs mailing list