[LLVMbugs] [Bug 16329] undefined-inline warning when constexpr is used

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 25 20:47:33 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=16329

Davide Italiano <davide at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Davide Italiano <davide at freebsd.org> ---
Fixed in head clang.

% ./clang++ -std=c++11 -DUSE_CONSTEXPR -c undef.cpp
undef.cpp:8:20: warning: inline function 'typeId<A>' is not defined
[-Wundefined-inline]
DECL_CONSTEXPR int typeId();
                   ^
undef.cpp:18:15: note: used here
        (void)typeId<A>();
              ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150426/f9f8d826/attachment.html>


More information about the llvm-bugs mailing list