Page 1 of 1

r73619

Posted: Sun Jan 29, 2017 4:16 pm
by Black_Fox
[SHELL32]: Fix build on *sane* compilers (wth, is that an assignment without the equal sign, or a called constructor, missing its parentheses?!).
It's neither a variable assignment nor a constructor call (per se). It's called list initialization, it's part of the standard since C++11 and according to some people providing examples and explanations on StackOverflow, it's actually one of very good ways to initialize a variable.

No offense meant, it just seemed there's a (rather rare) opportunity for me to pass on some knowledge.

Re: r73619

Posted: Mon Jan 30, 2017 4:30 pm
by hbelusca
Hi! Yes, indeed I discovered this stuff just after the commit, someone explained it to me on IRC.

Re: r73619

Posted: Tue Jan 31, 2017 8:57 pm
by Z98
Maybe time to drop VS2010 from the list of supported compilers.

Re: r73619

Posted: Wed Feb 01, 2017 9:27 pm
by hbelusca
Z98 wrote:Maybe time to drop VS2010 from the list of supported compilers.
Or not...