error: reference to ‘__detail’ is ambiguous
Paolo Carlini
paolo.carlini@oracle.com
Tue Jun 11 08:53:00 GMT 2013
On 06/11/2013 02:35 AM, Ed Smith-Rowland wrote:
> On 06/09/2013 04:25 PM, Jonathan Wakely wrote:
>> Ed, I'm seeing errors using -std=c++1y with this code:
>>
>> #include <chrono>
>> #include <random>
>>
>> int main()
>> {
>> }
>>
>> I think this is due to you chrono literals patch, could you take a
>> look please?
>>
> Here is a simple fix. Just rename __detail to __select_type.
>
> Built and tests on x86_64-linux.
>
> OK?
Ok, but remember to adjust the comment on the closed curly bracket.
By the way, stylistically, I don't see why namespaces should have the
open curly bracket at the end of the line instead of the beginning of
the next line, the standard GNU rule. If you can, please fix that
formatting too.
Thanks,
Paolo.
More information about the Libstdc++
mailing list