Created
September 12, 2016 04:12
-
-
Save amalloy/3737c069058da14fc56900de4884ea06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C rltiles all ARCH=x86_64-apple-darwin15.3.0 TILES= | |
CXX godabil.o | |
godabil.cc:4139:33: error: no viable conversion from 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' | |
you.props.erase(key); | |
^~~ | |
./store.h:286:28: note: passing argument to parameter 'key' here | |
void erase(const char *key) { map::erase(string(key)); } | |
^ | |
godabil.cc:4223:25: error: no viable conversion from 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' | |
you.props.erase(key); | |
^~~ | |
./store.h:286:28: note: passing argument to parameter 'key' here | |
void erase(const char *key) { map::erase(string(key)); } | |
^ | |
godabil.cc:4225:25: error: no viable conversion from 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' | |
you.props.erase(key); | |
^~~ | |
./store.h:286:28: note: passing argument to parameter 'key' here | |
void erase(const char *key) { map::erase(string(key)); } | |
^ | |
godabil.cc:4562:25: error: no viable conversion from 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' | |
you.props.erase(make_stringf(GOZAG_SHOPKEEPER_NAME_KEY, j)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./store.h:286:28: note: passing argument to parameter 'key' here | |
void erase(const char *key) { map::erase(string(key)); } | |
^ | |
godabil.cc:4563:25: error: no viable conversion from 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' | |
you.props.erase(make_stringf(GOZAG_SHOP_TYPE_KEY, j)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./store.h:286:28: note: passing argument to parameter 'key' here | |
void erase(const char *key) { map::erase(string(key)); } | |
^ | |
godabil.cc:4564:25: error: no viable conversion from 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' | |
you.props.erase(make_stringf(GOZAG_SHOP_SUFFIX_KEY, j)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./store.h:286:28: note: passing argument to parameter 'key' here | |
void erase(const char *key) { map::erase(string(key)); } | |
^ | |
godabil.cc:4565:25: error: no viable conversion from 'string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' | |
you.props.erase(make_stringf(GOZAG_SHOP_COST_KEY, j)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./store.h:286:28: note: passing argument to parameter 'key' here | |
void erase(const char *key) { map::erase(string(key)); } | |
^ | |
7 errors generated. | |
make: *** [godabil.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment