r73619

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

r73619

Post 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.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: r73619

Post by hbelusca »

Hi! Yes, indeed I discovered this stuff just after the commit, someone explained it to me on IRC.
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: r73619

Post by Z98 »

Maybe time to drop VS2010 from the list of supported compilers.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: r73619

Post by hbelusca »

Z98 wrote:Maybe time to drop VS2010 from the list of supported compilers.
Or not...
Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests