[Bug libstdc++/56678] New: [c++11] non-uglified name in <chrono>

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 21 15:15:00 GMT 2013


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

             Bug #: 56678
           Summary: [c++11] non-uglified name in <chrono>
    Classification: Unclassified
           Product: gcc
           Version: 4.6.4
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org


This fails in C++11 mode:

#define T ***
#include <bits/stdc++.h>

int main() { }

This has been broken since at least 4.4, due to this non-uglified T

    template<typename T>
      struct __is_ratio
      : std::false_type
      { };



More information about the Gcc-bugs mailing list