[Pkg-electronics-devel] Bug#957222: fpga-icestorm: ftbfs with GCC-10
Petter Reinholdtsen
pere at hungry.com
Sat Aug 22 12:35:16 BST 2020
[Matthias Klose]
> make[2]: Entering directory '/<<PKGBUILDDIR>>/icetime'
> g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -std=c++11 -I/usr/local/include -O2 -Wall -std=c++11 -I/usr/local/include -DPREFIX='"/usr/local"' -DCHIPDB_SUBDIR='"icebox"' -Wdate-time -D_FORTIFY_SOURCE=2 -c -o icetime.o icetime.cc
> icetime.cc: In function ‘std::string ecnetname_to_vlog(std::string)’:
> icetime.cc:1306:15: error: ‘invalid_argument’ in namespace ‘std’ does not name a type
> 1306 | } catch(std::invalid_argument &e) { // Not numeric and stoi throws exception
> | ^~~~~~~~~~~~~~~~
If I understand
<URL: http://www.cplusplus.com/reference/stdexcept/invalid_argument/ >
correctly, there is a #include <stdexcept> missing in the code.
--
Happy hacking
Petter Reinholdtsen
More information about the Pkg-electronics-devel
mailing list