r73619

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

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

r73619

Post by Black_Fox » Sun Jan 29, 2017 4:16 pm

[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: 1139
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: r73619

Post by hbelusca » Mon Jan 30, 2017 4:30 pm

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 » Tue Jan 31, 2017 8:57 pm

Maybe time to drop VS2010 from the list of supported compilers.

hbelusca
Developer
Posts: 1139
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: r73619

Post by hbelusca » Wed Feb 01, 2017 9:27 pm

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 2 guests