On Mon, 2017-04-24 at 15:42 +0200, Matthias Welwarsky wrote: > Suggestion: > - surround the #define __unused with an "#ifndef __unused" bracket, > that should fix the problem for MacOS (the #defines are obviously > compatible).
If I understand that correctly this macro is actually needed only for one function, right? If that's the case, why not just remove the macro and add "__attribute__ ((unused))" directly to the function? Regards, FCh ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel