This is an automated email from Gerrit.

Steven Stallion ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/4117

-- gerrit

commit 8cb1218a1edfeefe45534a7d93691a94e7198c98
Author: Steven Stallion <[email protected]>
Date:   Mon May 1 16:27:02 2017 -0500

    aarch64: fix __unused macro definition
    
    An improper macro definition causes build failures on hosts using Clang
    to build OpenOCD. This was due to a typo in the attribute specifier.
    
    Change-Id: Ia87ffcf8aeb1dacf0e60be5aea62e01797bac00a
    Signed-off-by: Steven Stallion <[email protected]>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index e647bba..d8a807d 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -30,7 +30,7 @@
 #include "armv8_cache.h"
 #include <helper/time_support.h>
 
-#define __unused __attribute((unused))
+#define __unused __attribute__((unused))
 
 enum restart_mode {
        RESTART_LAZY,

-- 

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to