[Mesa-dev] [Bug 97542] mesa-12.0.1 with llvm-3.9.0_rc3 - src/gallium/state_trackers/clover/llvm/invocation.cpp:212:75: error: no matching function for call to clang::CompilerInvocation::setLangDefaults

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 30 07:01:30 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97542

            Bug ID: 97542
           Summary: mesa-12.0.1 with llvm-3.9.0_rc3 -
                    src/gallium/state_trackers/clover/llvm/invocation.cpp:
                    212:75: error: no matching function for call to
                    clang::CompilerInvocation::setLangDefaults
           Product: Mesa
           Version: 12.0
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: devurandom at gmx.net
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 126117
  --> https://bugs.freedesktop.org/attachment.cgi?id=126117&action=edit
build.log (xz-compressed)

/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_trackers/clover/llvm/invocation.cpp:
In function ‘llvm::Module* {anonymous}::compile_llvm(llvm::LLVMContext&, const
string&, const header_map&, const string&, const string&, const string&, const
string&, unsigned int (&)[7], unsigned int&, std::__cxx11::string&)’:
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_trackers/clover/llvm/invocation.cpp:212:75:
error: no matching function for call to
‘clang::CompilerInvocation::setLangDefaults(clang::LangOptions&,
clang::InputKind, llvm::Triple, clang::LangStandard::Kind)’
                                         clang::LangStandard::lang_opencl11);
                                                                           ^
In file included from /usr/include/clang/Frontend/CompilerInstance.h:17:0,
                 from
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_trackers/clover/llvm/invocation.cpp:25:
/usr/include/clang/Frontend/CompilerInvocation.h:160:15: note: candidate:
static void clang::CompilerInvocation::setLangDefaults(clang::LangOptions&,
clang::InputKind, const llvm::Triple&, clang::PreprocessorOptions&,
clang::LangStandard::Kind)
   static void setLangDefaults(LangOptions &Opts, InputKind IK,
               ^
/usr/include/clang/Frontend/CompilerInvocation.h:160:15: note:   no known
conversion for argument 4 from ‘clang::LangStandard::Kind’ to
‘clang::PreprocessorOptions&’

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160830/2b6f07b1/attachment.html>


More information about the mesa-dev mailing list