gowin: add missing stdexcept required by runtime_error

fix:
src/gowin.cpp:73:11: error: 'runtime_error' is not a member of 'std'
      throw std::runtime_error("both write-flash and write-sram can't be set");
            ^
src/gowin.cpp:81:10: error: 'runtime_error' is not a member of 'std'
      throw std::runtime_error("incompatible file format");
            ^
This commit is contained in:
Gwenhael Goavec-Merou 2020-08-24 08:16:48 +02:00
parent 4aab60a2e0
commit cd124d2830
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#include <unistd.h>
#include <iostream>
#include <stdexcept>
#include "jtag.hpp"
#include "gowin.hpp"