[Bug libstdc++/60407] [C++11] call of overloaded ‘isnan’ is ambiguous

dilawar.s.rajput at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 4 20:43:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60407

--- Comment #12 from Dilawar Singh <dilawar.s.rajput at gmail dot com> ---
(In reply to Marc Glisse from comment #10)
> Looks like a dup of PR 48891.

Yes. It is very similar to this. Fine with me if it is marked dup.

I was mistaken about gcc version on server. It is default gcc comes with
Ubuntu-Precice (gcc-4.6.3). Also -std=c++0x flag is not set with gcc-4.6.3. So
in nutshell, compiles with gcc4.6.3 without -std=c++0x, but fails with
gcc-4.8.0 with -std=c++0x. 

I mentioned -std=c++11 wrongly in first report.



More information about the Gcc-bugs mailing list