[Bug c++/81371] Too many C++ templates output in build error

2017-07-10 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371 --- Comment #5 from Marc Glisse --- Related to PR14912 (and some others). Tools like STLFilt perform this transformation for standard types (including std::string). Possibly also related to the recent work on printing template diffs.

[Bug c++/81371] Too many C++ templates output in build error

2017-07-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371 --- Comment #4 from Andrew Pinski --- basic_string in C++ is always defined as a template class with three template arguments. Yes most folks don't know the C++ standard but it is what it is.

[Bug c++/81371] Too many C++ templates output in build error

2017-07-09 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371 --- Comment #3 from Jonny Grant --- Hello Perhaps just std::__cxx11::basic_string or std::basic_string in the message? But the char_traits and allocator aren't really needed are they? (I didn't write them in the function declaration). I apprec

[Bug c++/81371] Too many C++ templates output in build error

2017-07-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371 --- Comment #2 from Andrew Pinski --- The problem is std::string could be std::__cxx11::basic_string or just std::basic_string depending on the ABI chosen at compile time.