In file included from parser/grammar/gEconParser.cpp:44:
In file included from ./parser/grammar/gEconParser.hpp:59:
In file included from ./parser/antlr_include/antlr3.hpp:37:
In file included from ./parser/antlr_include/antlr3memory.hpp:35:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/map:910:5: error: static_assert failed due to requirement 'is_same<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<const unsigned int, unsigned int> >::value' "Allocator::value_type must be same type as value_type"
static_assert((is_same<typename allocator_type::value_type, value_type>::value),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parser/antlr_include/antlr3memory.hpp:102:34: note: in instantiation of template class 'std::__1::map<unsigned int, unsigned int, std::__1::less, antlr3::DefaultAllocPolicy::AllocatorType<std::__1::pair<unsigned int, unsigned int> > >' requested here
class UnOrderedMapType : public std::map< KeyType, ValueType, std::less,
^
./parser/antlr_include/antlr3tokenstream.hpp:269:26: note: in instantiation of template class 'antlr3::DefaultAllocPolicy::UnOrderedMapType<unsigned int, unsigned int>' requested here
ChannelOverridesType m_channelOverrides;
^
./parser/antlr_include/antlr3baserecognizer.hpp:51:19: note: in instantiation of template class 'antlr3::CommonTokenStream<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> >' requested here
typedef typename StreamType::IntStreamType IntStreamType;
^
./parser/antlr_include/antlr3traits.hpp:215:17: note: in instantiation of template class 'antlr3::BaseRecognizer<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty>, antlr3::CommonTokenStream<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> > >' requested here
: public TraitsOneArgSelector<
^
./parser/antlr_include/antlr3parser.hpp:44:25: note: in instantiation of template class 'antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty>::RecognizerType<antlr3::CommonTokenStream<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> > >' requested here
class Parser : public ImplTraits::template RecognizerType< typename ImplTraits::TokenStreamType >
^
./parser/grammar/gEconParser.hpp:229:1: note: in instantiation of template class 'antlr3::Parser<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> >' requested here
gEconParserImplTraits::BaseParserType
^
./parser/grammar/gEconParser.hpp:235:25: error: no type named 'StreamType' in 'parser::gEconParser'
typedef ComponentType::StreamType StreamType;
~^
parser/grammar/gEconParser.cpp:179:6: error: type 'ImplTraits::BaseParserType' (aka 'antlr3::Parser<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> >') is not a direct or virtual base of 'parser::gEconParser'
:ImplTraits::BaseParserType(ANTLR_SIZE_HINT, instream, NULL)
^~
parser/grammar/gEconParser.cpp:194:6: error: type 'ImplTraits::BaseParserType' (aka 'antlr3::Parser<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> >') is not a direct or virtual base of 'parser::gEconParser'
:ImplTraits::BaseParserType(ANTLR_SIZE_HINT, instream, state)
^~~~~~~~
parser/grammar/gEconParser.cpp:204:8: error: no member named 'get_psrstate' in 'parser::gEconParser'
this->get_psrstate()->set_tokenNames( gEconParserTokenNames );
~~~~ ^
parser/grammar/gEconParser.cpp:212:11: error: no member named 'get_rec' in 'parser::gEconParser'
this->get_rec()->reset();
~~~~ ^
In file included from parser/grammar/gEconParser.cpp:44:
In file included from ./parser/grammar/gEconParser.hpp:59:
In file included from ./parser/antlr_include/antlr3.hpp:46:
./parser/antlr_include/antlr3cyclicdfa.hpp:53:28: error: no type named 'ExceptionBaseType' in 'parser::gEconParser'
typedef typename CtxType::ExceptionBaseType ExceptionBaseType;
^
parser/grammar/gEconParser.cpp:1846:39: note: in instantiation of template class 'antlr3::CyclicDFA<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty>, parser::gEconParser>' requested here
class gEconParserCyclicDFA35 : public CyclicDFA< gEconParserImplTraits, gEconParser >, public gEconParserTokens
^
In file included from parser/grammar/gEconParser.cpp:44:
In file included from ./parser/grammar/gEconParser.hpp:59:
In file included from ./parser/antlr_include/antlr3.hpp:46:
./parser/antlr_include/antlr3cyclicdfa.hpp:55:19: error: type 'antlr3::CyclicDFA<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty>, parser::gEconParser>::StreamType' (aka 'int') cannot be used prior to '::' because it has no members
typedef typename StreamType::IntStreamType IntStreamType;
^
./parser/antlr_include/antlr3cyclicdfa.hpp:56:19: error: type 'antlr3::CyclicDFA<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty>, parser::gEconParser>::StreamType' (aka 'int') cannot be used prior to '::' because it has no members
typedef typename StreamType::TokenType TokenType;
^
parser/grammar/gEconParser.cpp:1865:7: error: type 'parser::gEconParserCyclicDFA35::BaseType' (aka 'CyclicDFA<Traits<parser::gEconLexer, parser::gEconParser, UserTraits>, parser::gEconParser>') is not a direct or virtual base of 'parser::gEconParserCyclicDFA35'
:BaseType( decisionNumber, description, eot, eof, min, max, accept,
^~~~~~
parser/grammar/gEconParser.cpp:2123:52: error: no matching constructor for initialization of 'gEconParserImplTraits::RuleReturnValueType' (aka 'antlr3::RuleReturnValue_1<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> >')
gEconParserImplTraits::RuleReturnValueType _antlr_rule_exit(this);
^ ~~~~
./parser/antlr_include/antlr3parser.hpp:190:2: note: candidate constructor not viable: no known conversion from 'parser::gEconParser *' to 'antlr3::RuleReturnValue_1<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> >::BaseParserType *' (aka 'antlr3::Parser<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> > ') for 1st argument
RuleReturnValue_1( BaseParserType psr);
^
./parser/antlr_include/antlr3parser.hpp:191:2: note: candidate constructor not viable: no known conversion from 'parser::gEconParser *' to 'const antlr3::RuleReturnValue_1<antlr3::Traits<parser::gEconLexer, parser::gEconParser, UserTraits, antlr3::Empty> >' for 1st argument
RuleReturnValue_1( const RuleReturnValue_1& val );
^
./parser/antlr_include/antlr3parser.hpp:189:2: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
RuleReturnValue_1();
^
parser/grammar/gEconParser.cpp:2139:32: error: no member named 'LA' in 'parser::gEconParser'
switch ( this->LA(1) )
~~~~ ^
parser/grammar/gEconParser.cpp:2153:28: error: no member named 'followPush' in 'parser::gEconParser'
this->followPush(FOLLOW_opts_in_model83);
~~~~ ^
parser/grammar/gEconParser.cpp:2156:28: error: no member named 'followPop' in 'parser::gEconParser'
this->followPop();
~~~~ ^
parser/grammar/gEconParser.cpp:2157:33: error: no member named 'hasException' in 'parser::gEconParser'
if (this->hasException())
~~~~ ^
parser/grammar/gEconParser.cpp:2173:32: error: no member named 'LA' in 'parser::gEconParser'
switch ( this->LA(1) )
~~~~ ^
parser/grammar/gEconParser.cpp:2187:28: error: no member named 'followPush' in 'parser::gEconParser'
this->followPush(FOLLOW_sets_in_model86);
~~~~ ^
parser/grammar/gEconParser.cpp:2190:28: error: no member named 'followPop' in 'parser::gEconParser'
this->followPop();
~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [parser/grammar/gEconParser.o] Error 1
ERROR: compilation failed for package ‘gEcon’
- removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/gEcon’
Warning in install.packages :
installation of package ‘/Users/sebastianuys/Desktop/Service/Current Tasks/Term 2/Macroeconomics/Term 2/MacroWork/gEcon_1.2.0.tar.gz’ had non-zero exit status