Wes McKinney created ARROW-1159: ----------------------------------- Summary: [C++] Static data members cannot be accessed from inline functions in Arrow headers by thirdparty users Key: ARROW-1159 URL: https://issues.apache.org/jira/browse/ARROW-1159 Project: Apache Arrow Issue Type: Bug Components: C++ Reporter: Wes McKinney Assignee: Wes McKinney Fix For: 0.5.0
This problem was exposed by the code migration in ARROW-1154. This yields DLL linking errors like {code} column_writer.cc.obj : error LNK2001: unresolved external symbol "private: static __int64 arrow::CpuInfo::hardware_flags_" (?hardware_flags_@CpuInfo@arrow@@0_JA) statistics.cc.obj : error LNK2001: unresolved external symbol "private: static __int64 arrow::CpuInfo::hardware_flags_" (?hardware_flags_@CpuInfo@arrow@@0_JA) {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)