Skip to content

Instantly share code, notes, and snippets.

@jbfink
Created May 28, 2014 03:06
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 jbfink/a17b96d49cb8ef65ba88 to your computer and use it in GitHub Desktop.
Save jbfink/a17b96d49cb8ef65ba88 to your computer and use it in GitHub Desktop.
In file included from /usr/include/c++/4.6/unordered_set:35:0,
from src/json.h:7,
from src/color.h:7,
from src/output.h:4,
from src/action.cpp:2:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from src/color.h:7:0,
from src/output.h:4,
from src/action.cpp:2:
src/json.h:214:37: error: ‘unordered_set’ is not a member of ‘std’
src/json.h:214:57: error: expected primary-expression before ‘>’ token
src/json.h:214:60: error: ‘v’ was not declared in this scope
src/json.h:214:63: error: expected ‘;’ before ‘{’ token
src/json.h:226:5: error: data member ‘read’ cannot be a member template
src/json.h:328:44: error: ‘unordered_set’ in namespace ‘std’ does not name a type
src/json.h:328:49: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
src/json.h:328:62: error: expected ‘,’ or ‘...’ before ‘<’ token
src/json.h: In member function ‘void JsonOut::write(int)’:
src/json.h:330:23: error: ‘unordered_set’ in namespace ‘std’ does not name a type
src/json.h:330:36: error: expected unqualified-id before ‘<’ token
src/json.h:331:14: error: ‘it’ was not declared in this scope
src/json.h:331:19: error: ‘v’ was not declared in this scope
In file included from src/action.cpp:3:0:
src/options.h: At global scope:
src/options.h:105:8: error: ‘unordered_map’ in namespace ‘std’ does not name a type
src/options.h:106:8: error: ‘unordered_map’ in namespace ‘std’ does not name a type
In file included from src/monster.h:5:0,
from src/game.h:5,
from src/action.cpp:7:
src/player.h:89:2: error: ‘unordered_set’ in namespace ‘std’ does not name a type
In file included from src/monster.h:5:0,
from src/game.h:5,
from src/action.cpp:7:
src/player.h:892:5: error: ‘unordered_set’ in namespace ‘std’ does not name a type
src/player.h:893:5: error: ‘unordered_set’ in namespace ‘std’ does not name a type
In file included from src/game.h:24:0,
from src/action.cpp:7:
src/worldfactory.h:17:8: error: ‘unordered_map’ in namespace ‘std’ does not name a type
src/worldfactory.h:18:8: error: ‘unordered_map’ in namespace ‘std’ does not name a type
src/worldfactory.h:24:5: error: ‘unordered_map’ in namespace ‘std’ does not name a type
src/worldfactory.h:78:9: error: ‘unordered_map’ in namespace ‘std’ does not name a type
src/worldfactory.h:79:9: error: ‘unordered_map’ in namespace ‘std’ does not name a type
src/action.cpp: In function ‘action_id handle_action_menu()’:
src/action.cpp:710:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/action.cpp:717:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [obj/action.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment