Fix build with GCC 10 new default. References: https://gcc.gnu.org/gcc-10/porting_to.html#common https://bugzilla.redhat.com/show_bug.cgi?id=1793499 --- urjtag/bindings/python/py_urjtag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/urjtag/bindings/python/py_urjtag.h b/urjtag/bindings/python/py_urjtag.h index 38582ebb..16b120d8 100644 --- a/urjtag/bindings/python/py_urjtag.h +++ b/urjtag/bindings/python/py_urjtag.h @@ -35,7 +35,7 @@ struct urj_pyregister extern PyTypeObject urj_pyregister_Type; extern PyObject *urj_py_chkret (int rc); -PyObject *UrjtagError; +extern PyObject *UrjtagError; extern int urj_pyc_precheck (urj_chain_t *urc, int checks_needed); #define UPRC_CBL 1 -- 2.21.1 _______________________________________________ UrJTAG-development mailing list UrJTAG-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/urjtag-development