gcc-c++ handling of default arguments

Michael Cronenworth mike@cchtml.com
Tue Dec 9 22:39:00 GMT 2014


On 12/08/2014 10:17 AM, Michael Cronenworth wrote:
>
> Yes, that is what gcc is telling me. I've been told by MinGW-64 (Kai Tietz) that
> he doesn't think he needs to supply a default for that argument for Windows builds.
>
> Is every argument expected to have a default value? Is there a flag to make gcc
> relax on this requirement? I see -fms-extensions doesn't control this.

To update everyone:

Yes, this is expected[1]. Mingw-w64 has been fixed.

[1] http://msdn.microsoft.com/en-us/library/91563f79.aspx



More information about the Gcc-help mailing list