avrdudes / avarice

AVaRICE is a program for interfacing the Atmel JTAG ICE to GDB to allow users to debug their embedded AVR target.
GNU General Public License v2.0
38 stars 12 forks source link

[bug #24] Fix build with clang 6 #24

Closed avrs-admin closed 2 years ago

avrs-admin commented 2 years ago

leres 2018-06-27 21:58:25.690000

Here's a patch that unbreaks building on FreeBSD 11.2-RELEASE with clang 6.0.0:

jtagrw.cc:134:13: error: cannot initialize return object of type 'uchar *' (aka 'unsigned char *') with an rvalue of type 'bool'
            return false;
                   ^~~~~

patch-src_jtagrw.cc

This issue was migrated from https://sourceforge.net/p/avarice/bugs/24/

avrs-admin commented 2 years ago

leres 2018-06-27 21:59:14.377000

Patch

avrs-admin commented 2 years ago

joerg_wunsch 2020-08-31 22:28:24.702000

avrs-admin commented 2 years ago

joerg_wunsch 2020-08-31 22:28:24.920000

This has been replaced by throwing an exception.