Sorry, here are missing information: The "minimal" sample is in package wx3.0-examples on path /usr/share/doc/wx 3.0-examples/examples/samples/minimal. For the report I used version from wxWidgets web page, but the sample from package wx3.0-examples produce the same warnings, only makefile.unx is missing and source file is gziped. I used command: g++-5 -c -o minimal_minimal.o -I. `wx-config --cxxflags --unicode=yes -- static=no --toolkit=gtk2 --version=3.0` -MTminimal_minimal.o -MF`echo minimal_minimal.o | sed -e 's,\.o$,.d,'` -MD -MP minimal.cpp
For buid you will need also package "wx-common" (it provides wx-config). Why I thing that it is bug? Personally I am unsure if the bug is in wxWidgets or in GCC, at first I reported it to wxWidgest developers (I am not familiar with the internals of wxWidgets), but they mean that their code is valid: https://groups.google.com/forum/?fromgroups#!topic/wx-dev/MSDyJ6 jbRP4 Note that g++-4.9 don't produce these warnings (I understand that it is not important...). Thank you for your time TonyMi ---------- Původní zpráva ---------- Od: Matthias Klose <d...@debian.org> Komu: TonyMi <tonda.mi...@post.cz>, Datum: 19. 4. 2015 15:45:25 Předmět: Re: Bug#782824: g++-5: Compilation of application using wxWidgest produces a lot of warnings "Control: tags -1 + moreinfo On 04/18/2015 01:39 PM, TonyMi wrote: > Package: g++-5 > Version: 5.1~rc1-1 > Severity: normal > > Dear Maintainer, > I tried to compile my application using wxWidgets with g++-5 but I got a lot of > warnings. I reported the problem on wxWidgets forum, but the developers think > that bug is in the gcc. you forgot to attach the minimal example and forgot to explain why the current behaviour is supposed to be a bug."