This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371

--- Comment #3 from Jonny Grant <jg at jguk dot org> ---
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 appreciate that a string contains
chars, and has an internal allocator, but I don't need to know this when
compiling..


So it could be:

main.cpp:(.text+0x41): undefined reference to
`myfunc(std::__cxx11::basic_string)'


It's worse when I have functions with many std::string parameters, and
std::vector

Regards, Jonny

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