Re: Base Class initialization with brackets, calls move constructor. Compiles well with parenthesis.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, braces. I'm sorry for the misspell.

Thank you for the explanation! I got very confused and didn't know
what was wrong.

On 17 November 2016 at 11:37, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 17 November 2016 at 01:51, Carlos Ferreira wrote:
>> If I use parenthesis instead of brackets ("O_Partial (x, y)"), the
>> compiler does not complain and everything goes well.
>
> Those are braces, not brackets.
>
>
>> My GCC version is 6.2.1 20160830 (GCC)
>>
>>
>> Can anyone explain me this issue and help me to understand it?
>
> It's a bug in GCC. It's fixed in the subversion trunk, but I'm not
> sure when or how it was fixed.



-- 

Carlos Miguel Ferreira
Researcher at Telecommunications Institute
Aveiro - Portugal
Work E-mail - cmf@xxxxxxxx
Skype & GTalk -> carlosmf.pt@xxxxxxxxx
LinkedIn -> http://www.linkedin.com/in/carlosmferreira



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux