In the parser.hh file, the shared_ptr data type is used, which is provided by the header file memory of the standard template library. However, parser.hh does not include memory, which causes compilation to fail with both GCC and clang; with the added include, the library compiles with clang. (But not with GCC, for some reason.)
In the
parser.hh
file, theshared_ptr
data type is used, which is provided by the header filememory
of the standard template library. However,parser.hh
does not includememory
, which causes compilation to fail with both GCC and clang; with the addedinclude
, the library compiles with clang. (But not with GCC, for some reason.)