[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Some redundant warning options in workhorse.make
From: |
Vadim Zeitlin |
Subject: |
[lmi] Some redundant warning options in workhorse.make |
Date: |
Tue, 25 Aug 2020 17:47:01 +0200 |
Hello,
While working on trying to make wx headers compile at maximum warning
level (you can see the warnings I've enabled for them in
https://github.com/wxWidgets/wxWidgets/pull/2033/commits/3fd55a4ddf40)
I've noticed that a couple of warnings explicitly enabled in lmi are
redundant: -Winit-self is enabled by -Wall for C++ and -Wwrite-strings is
even enabled by default in C++. As we're probably not really interested in
warnings in round_glibc.c file, which is the only non-C++ file in lmi, I
think we could remove these options from gcc_common_warnings without any
ill effects.
Regards,
VZ
pgp7gbGIApSJ8.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi] Some redundant warning options in workhorse.make,
Vadim Zeitlin <=