[Bug libstdc++/82684] std::complex template specializations require C99 Complex

2017-10-24 Thread web at cjhanks dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82684 --- Comment #2 from Christopher J. Hanks --- > > Putting the specializations and forward declarations in an `#if > > _GLIBCXX_USE_C99_COMPLEX` block appears to allow code to compile as > > expected. > > What code? What doesn't compile without t

[Bug libstdc++/82684] New: std::complex template specializations require C99 Complex

2017-10-23 Thread web at cjhanks dot name
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: web at cjhanks dot name Target Milestone: --- Tested on Ubuntu 16.04 using GLIBCXX_3.4. The template specializations for std::complex require the presence of the C99 complex type even