On Sun, Oct 09, 2016 at 11:35:26PM +0200, Guillaume Munch wrote:

> I now get the following with gcc 4.6:
> 
> ../../../../src/frontends/qt4/GuiView.h:467:33: sorry, unimplemented:
> non-static data member initializers
> 
> Your code is fine, this is just gcc 4.6 not supporting a C++11 feature.
> Though, here you could make your variable static without loss of intent
> or purpose.

Thank you for catching this and for the explanation. I made the change
at f411040a. In the future, please always feel free to amend my commits
if it takes you less time to do so directly than to explain to me. To be
clear, I don't mind at all doing it myself (perhaps it makes more of an
imprint on my memory so that I would be less likely to make the same
mistake next time), so it is up to you.

I'm a little confused by the error message. From what I understand, what
is not supported is initializing non-static data members inside the
class definition. But initializing data members inside a constructor is
of course supported. How does the error message not contradict this
situation?

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to