akshay
1
make[3] -C tools/bison compile
make[3] -C tools/bison install
make[3] -C tools/mklibs compile
make -r world: build failed. Please re-run make with V=s to see what's going on
make: *** [/media/user/Storage/Firmware/master/include/toplevel.mk:173: world] Error 1
In file included from elf_data.hpp:24,
from elf.cpp:21:
elf.hpp:52:56: error: ISO C++17 does not allow dynamic exception specifications
52 | const section &get_section(unsigned int i) const throw (std::out_of_range) { return *sections.at(i); };
| ^~~~~
elf.hpp:62:47: error: ISO C++17 does not allow dynamic exception specifications
62 | static file *open(const char *filename) throw (std::bad_alloc, std::runtime_error);
| ^~~~~
elf.hpp:65:38: error: ISO C++17 does not allow dynamic exception specifications
65 | file(uint8_t *mem, size_t len) throw (std::bad_alloc) : mem(mem), len(len) { }
| ^~~~~
elf.hpp:68:52: error: ISO C++17 does not allow dynamic exception specifications
68 | static file *open_class(uint8_t *, size_t) throw (std::bad_alloc, std::runtime_error);
| ^~~~~
elf.hpp:131:55: error: ISO C++17 does not allow dynamic exception specifications
131 | std::string get_string(uint32_t offset) const throw (std::bad_alloc)
| ^~~~~
elf.hpp:266:39: error: ISO C++17 does not allow dynamic exception specifications
266 | std::string get_version() const throw (std::bad_alloc);
| ^~~~~
elf.hpp:267:44: error: ISO C++17 does not allow dynamic exception specifications
267 | std::string get_version_file() const throw (std::bad_alloc);
| ^~~~~
elf.hpp:269:44: error: ISO C++17 does not allow dynamic exception specifications
269 | std::string get_name_version() const throw (std::bad_alloc);
| ^~~~~
elf.hpp:308:29: error: ISO C++17 does not allow dynamic exception specifications
308 | version_requirement() throw (std::bad_alloc);
| ^~~~~
In file included from elf.cpp:21:
elf_data.hpp:97:42: error: ISO C++17 does not allow dynamic exception specifications
97 | file_data(uint8_t *, size_t len) throw (std::bad_alloc, std::runtime_error);
| ^~~~~
elf_data.hpp:112:43: error: ISO C++17 does not allow dynamic exception specifications
112 | virtual void update(const file &) throw (std::bad_alloc);
| ^~~~~
elf_data.hpp:136:41: error: ISO C++17 does not allow dynamic exception specifications
136 | section_real(Shdr *, uint8_t *) throw (std::bad_alloc);
| ^~~~~
elf_data.hpp:138:35: error: ISO C++17 does not allow dynamic exception specifications
138 | void update(const file &) throw (std::bad_alloc);
| ^~~~~
elf_data.hpp:150:41: error: ISO C++17 does not allow dynamic exception specifications
150 | section_real(Shdr *, uint8_t *) throw (std::bad_alloc);
Googled the error message?