cvc icon indicating copy to clipboard operation
cvc copied to clipboard

error: implicit instantiation of undefined template 'std::array<unsigned int, 5>'

Open yurivict opened this issue 4 years ago • 2 comments

In file included from cdlParser.cc:41:
In file included from cdlParser.yy:32:
In file included from ./Cvc.hh:62:
/usr/include/c++/v1/vector:428:64: error: implicit instantiation of undefined template 'std::array<unsigned int, 5>'
        __alloc_traits::destroy(__alloc(), _VSTD::__to_address(--__soon_to_be_end));
                                                               ^

Did you forget to include <array>?

clang-13

yurivict avatar Dec 28 '21 18:12 yurivict

Thanks for the heads up!

Just to be clear, are you following the installation instructions or trying to compile using another method?

download tarball from release page https://github.com/d-m-bailey/cvc/releases.
extract
cd cvc-<version>
autoreconf -vif
./configure --disable-nls [--prefix=<install_directory>]
make install

d-m-bailey avatar Dec 28 '21 23:12 d-m-bailey

The FreeBSD port that I develop essentially follows these steps under the hood.

yurivict avatar Dec 28 '21 23:12 yurivict