[LLVMbugs] [Bug 13170] static const integral class member => undefined symbol
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 21 18:01:43 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13170
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution| |INVALID
--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-06-21 20:01:43 CDT ---
The error is correct, you are missing the definition of rank_k:
template <class SymmetricRankKUpdateStrategy>
const std::size_t
sum_of_symmetric_rank_1_updates<SymmetricRankKUpdateStrategy>::rank_k;
rank_k is used in the constructor, on line 53:
u(n, rank_k)
Here, rank_k is passed by const reference to c_grid's constructor, so a
definition is required.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list