Well, it's not really needed, but we will have less warnings in the 
`config.log` file, which is a great help IMHO to identify real problems.


---

** [issues:#5618] configure: Fix tests for compiler warning flags.**

**Status:** Started
**Created:** Sat Nov 23, 2019 09:03 PM UTC by Werner LEMBERG
**Last Updated:** Thu Nov 28, 2019 08:17 AM UTC
**Owner:** Werner LEMBERG


`AC_LANG_PROGRAM` ignores compiler warnings.  This behaviour made the tests
always true and thus without any effect.  We now add `-Werror` to enforce an
error in case the warning flag is not known.

To make that work it is also necessary to compile `confdefs.h` without
warnings; we add a hack to undefine macro `PACKAGE_NAME`, which gets defined
twice for historical reasons.

https://codereview.appspot.com/551210043


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development

Reply via email to