This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: reference to â__detailâ is ambiguous


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]