Skip to content

Instantly share code, notes, and snippets.

@cra

cra/-

Created January 18, 2014 20:57
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 cra/8496347 to your computer and use it in GitHub Desktop.
Save cra/8496347 to your computer and use it in GitHub Desktop.
/opt/caroline/base/json.cc: In member function ‘base::Value* base::json::Parser::ParseImpl(const string&, off_t*) const’:
/opt/caroline/base/json.cc:225:3: error: ‘unique_ptr’ is not a member of ‘std’
std::unique_ptr<Value> value;
^
/opt/caroline/base/json.cc:225:24: error: expected primary-expression before ‘>’ token
std::unique_ptr<Value> value;
^
/opt/caroline/base/json.cc:225:26: error: ‘value’ was not declared in this scope
std::unique_ptr<Value> value;
^
/opt/caroline/base/json.cc: In member function ‘base::ListValue* base::json::Parser::ParseList(const string&, off_t*) const’:
/opt/caroline/base/json.cc:317:3: error: ‘unique_ptr’ is not a member of ‘std’
std::unique_ptr<ListValue> list(new ListValue());
^
/opt/caroline/base/json.cc:317:28: error: expected primary-expression before ‘>’ token
std::unique_ptr<ListValue> list(new ListValue());
^
/opt/caroline/base/json.cc:317:50: error: ‘list’ was not declared in this scope
std::unique_ptr<ListValue> list(new ListValue());
^
/opt/caroline/base/json.cc:318:3: error: ‘unique_ptr’ is not a member of ‘std’
std::unique_ptr<Value> item;
^
/opt/caroline/base/json.cc:318:24: error: expected primary-expression before ‘>’ token
std::unique_ptr<Value> item;
^
/opt/caroline/base/json.cc:318:26: error: ‘item’ was not declared in this scope
std::unique_ptr<Value> item;
^
/opt/caroline/base/json.cc: In member function ‘base::DictionaryValue* base::json::Parser::ParseDictionary(const string&, off_t*) const’:
/opt/caroline/base/json.cc:359:3: error: ‘unique_ptr’ is not a member of ‘std’
std::unique_ptr<DictionaryValue> dict(new DictionaryValue());
^
/opt/caroline/base/json.cc:359:34: error: expected primary-expression before ‘>’ token
std::unique_ptr<DictionaryValue> dict(new DictionaryValue());
^
/opt/caroline/base/json.cc:359:62: error: ‘dict’ was not declared in this scope
std::unique_ptr<DictionaryValue> dict(new DictionaryValue());
^
/opt/caroline/base/json.cc:360:3: error: ‘unique_ptr’ is not a member of ‘std’
std::unique_ptr<StringValue> key;
^
/opt/caroline/base/json.cc:360:30: error: expected primary-expression before ‘>’ token
std::unique_ptr<StringValue> key;
^
/opt/caroline/base/json.cc:360:32: error: ‘key’ was not declared in this scope
std::unique_ptr<StringValue> key;
^
/opt/caroline/base/json.cc:361:3: error: ‘unique_ptr’ is not a member of ‘std’
std::unique_ptr<Value> item;
^
/opt/caroline/base/json.cc:361:24: error: expected primary-expression before ‘>’ token
std::unique_ptr<Value> item;
^
/opt/caroline/base/json.cc:361:26: error: ‘item’ was not declared in this scope
std::unique_ptr<Value> item;
^
make[2]: *** [CMakeFiles/base.dir/base/json.cc.o] Error 1
make[1]: *** [CMakeFiles/base.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment