Skip to content

Instantly share code, notes, and snippets.

@justinjdickow
Created May 22, 2014 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinjdickow/da7794722a6a8a9021b9 to your computer and use it in GitHub Desktop.
Save justinjdickow/da7794722a6a8a9021b9 to your computer and use it in GitHub Desktop.
simpledateformat.cpp:598:24: error: out-of-line definition of 'addToken' does not match any declaration in 'log4cxx::helpers::SimpleDateFormat'
void SimpleDateFormat::addToken(const logchar spec, const int repeat, const std::locale * locale,
^~~~~~~~
../../../src/main/include/log4cxx/helpers/simpledateformat.h:82:84: note: type of 3rd parameter of member declaration does not match definition
('const std::locale *' vs 'const std::locale *' (aka 'const std::__1::locale *'))
static void addToken(const logchar spec, const int repeat, const std::locale* locale, PatternTokenList& pattern);
^
simpledateformat.cpp:706:24: error: out-of-line definition of 'parsePattern' does not match any declaration in 'log4cxx::helpers::SimpleDateFormat'
void SimpleDateFormat::parsePattern( const LogString & fmt, const std::locale * locale,
^~~~~~~~~~~~
../../../src/main/include/log4cxx/helpers/simpledateformat.h:83:73: note: type of 2nd parameter of member declaration does not match definition
('const std::locale *' vs 'const std::locale *' (aka 'const std::__1::locale *'))
static void parsePattern(const LogString& spec, const std::locale* locale, PatternTokenList& pattern);
^
simpledateformat.cpp:746:19: error: out-of-line definition of 'SimpleDateFormat' does not match any declaration in 'log4cxx::helpers::SimpleDateFormat'
SimpleDateFormat::SimpleDateFormat( const LogString & fmt, const std::locale * locale ) : timeZone( TimeZone::getDefault() )
^~~~~~~~~~~~~~~~
../../../src/main/include/log4cxx/helpers/simpledateformat.h:56:68: note: type of 2nd parameter of member declaration does not match definition
('const std::locale *' vs 'const std::locale *' (aka 'const std::__1::locale *'))
SimpleDateFormat(const LogString& pattern, const std::locale* locale);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment