Re:C++ compiler accepts explicit constructor call
by LanceH on Tuesday April 30, 2013 @08:40AM
(#5631761)
The fix could be just to issue a warning of non-compliance to C++ standards.
[ Parent
| on HN ]
Re:C++ compiler accepts explicit constructor call
by BudVVeezer on Tuesday April 30, 2013 @08:46AM
(#5631790)
Except that can break compiling projects as well due to /WX (treating warnings as errors).
Re:C++ compiler accepts explicit constructor call
by josephlord on Tuesday April 30, 2013 @08:54AM
(#5631839)
Those projects want to be warned of non-compliant code and they have chosen to have their build break on questionable constructs. I think that this is a weak argument for not issuing a warning.
Having said that the issue looks fairly non-urgent and inclusion in a later release would be perfectly reasonable.