[llvm-dev] [llvm-cxxdump] Error reporting, build errors on FreeBSD 11.1

Kevin Neal via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 7 12:14:02 PDT 2021


I'm seeing build failures in one file on FreeBSD 11.1. The obvious fix probably isn't the correct one since this file sees so little change. Hasn't there been a change to error reporting recently?

<snip>/llvm/tools/llvm-cxxdump/Error.cpp:25:15: error: implicit instantiation of undefined template 'std::basic_string<char>'
  std::string message(int ev) const override {
                  ^
/usr/include/c++/v1/iosfwd:193:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_string;
                                   ^
<snip>/llvm/tools/llvm-cxxdump/Error.cpp:28:14: error: implicit instantiation of undefined template 'std::basic_string<char>'
      return "Success";
                 ^
/usr/include/c++/v1/iosfwd:193:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_string;
                                   ^
<snip>/llvm/tools/llvm-cxxdump/Error.cpp:30:14: error: implicit instantiation of undefined template 'std::basic_string<char>'
      return "No such file.";
                 ^
/usr/include/c++/v1/iosfwd:193:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_string;
                                   ^
<snip>/llvm/tools/llvm-cxxdump/Error.cpp:32:14: error: implicit instantiation of undefined template 'std::basic_string<char>'
      return "Unrecognized file type.";
                 ^
/usr/include/c++/v1/iosfwd:193:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_string;
                                   ^
4 errors generated.

--
Kevin P. Neal
SAS/C and SAS/C++ Compiler
Compute Services
SAS Institute, Inc.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211007/75545045/attachment.html>


More information about the llvm-dev mailing list