1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| In file included from menu.cpp:1:
menu.h:7: error: an anonymous struct cannot have function members
menu.h:9: error: member std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > <anonymous class>::options with constructor not allowed in anonymous aggregate
menu.h:9: error: member std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > <anonymous class>::options with destructor not allowed in anonymous aggregate
menu.h:9: error: member std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > <anonymous class>::options with copy assignment operator not allowed in anonymous aggregate
menu.h:15: error: abstract declarator <anonymous class> used as declaration
menu.cpp:10: error: explicit qualification in declaration of void ajouterOption(std::string)
menu.cpp: In function void ajouterOption(std::string):
menu.cpp:11: error: options was not declared in this scope
menu.cpp: At global scope:
menu.cpp:14: error: explicit qualification in declaration of void affiche()
menu.cpp:14: error: non-member function void affiche() cannot have cv-qualifier
menu.cpp: In function void affiche():
menu.cpp:15: error: options was not declared in this scope
menu.cpp: At global scope:
menu.cpp:19: error: explicit qualification in declaration of int demanderOption()
menu.cpp:19: error: non-member function int demanderOption() cannot have cv-qualifier
menu.cpp: In function int demanderOption():
menu.cpp:27: error: options was not declared in this scope
menu.cpp:30: error: option was not declared in this scope |
Partager