kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26531
Re: -Wsuggest-override with scripting enabled
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Thu, 6 Oct 2016 09:08:17 -0400
-
In-reply-to:
<CAG1r56+6Ydq5u_=5qQ6FEANM_11xR2m8VRTVxuOuOeB64_PjGg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
Patches committed. Thanks.
On 10/5/2016 10:05 AM, John Beard wrote:
> Hi,
>
> Rather than blanket-disabling -Wsuggest-override when scripting is
> enabled, it's possible to turn the warnings off for just the
> problematic pcbnew_wrap.cxx file using set_source_file_properties().
>
> This means when building with scripting (which I always do), the
> warnings are still enabled for all other files.
>
> Second patch is an override opportunity which was previously silenced
> by the blanket disabling of the warning.
>
> Thanks,
>
> John
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References