부스트 1.49와 올바르게 컴파일되는 코드가 있습니다.부스트 스마트 어레이가 작동하지 않습니다.
error: no matching function for call to boost::shared_array::shared_array(unsigned char) Boost/boost/smart_ptr/shared_array.hpp:56: note: candidates are: boost::shared_array::shared_array() [with T = unsigned char] Boost/boost/smart_ptr/shared_array.hpp:45: note: boost::shared_array::shared_array(const boost::shared_array&)
코드 snippate이에 대한
boost::shared_array<uint8_t> val;
constructor():val(0){}
무엇을 할 수있는 가능한 솔루션 같다 : 지금 내가 직면하고 오류와 같은 1.61에 후원을 업그레이드?
내 현재 설정은 GCC 버전 4.1이 설치된 Linux 컴퓨터에서 수행됩니다.
고대 버전의 GCC가 포함 된 어떤 리눅스 환경을 실행하고 있습니까? [4.1은 거의 10 세입니다 (2007 년 2 월 13 일)] (https://gcc.gnu.org/releases.html) – sehe