Enabled Gnu warning suppression macros for GCC on Mac OS X.
git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@508 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
parent
d1be40b89f
commit
7cd8975cc5
|
@ -56,7 +56,7 @@
|
|||
/* This is a helpful internal feature of later versions (> 2.7) of GCC
|
||||
* to prevent warnings about unused variables.
|
||||
*/
|
||||
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) && !(defined (__APPLE_CC__) || defined (__GNUG__))
|
||||
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) && !defined (__GNUG__)
|
||||
# define __unused__ __attribute__((unused))
|
||||
# define __printf__(s,f) __attribute__((format (printf, s, f)))
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue