diff --git a/SWIG/Lib/swiglabels.swg b/SWIG/Lib/swiglabels.swg index 48230ed07..24a7c4c70 100644 --- a/SWIG/Lib/swiglabels.swg +++ b/SWIG/Lib/swiglabels.swg @@ -30,7 +30,7 @@ /* attribute recognised by some compilers to avoid 'unused' warnings */ #ifndef SWIGUNUSED # if defined(__GNUC__) || defined(__ICC) -# define SWIGUNUSED __attribute__ ((unused)) +# define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif