mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 16:26:12 +08:00
2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
* ansidecl.h: #define __extension__ to nothing if GCC_VERSION < 2008.
This commit is contained in:
parent
9bbb81a443
commit
c2a2b38e1f
@ -1,3 +1,7 @@
|
|||||||
|
2000-06-17 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* ansidecl.h: Updated from gcc.
|
||||||
|
|
||||||
2000-06-15 H.J. Lu <hjl@gnu.org>
|
2000-06-15 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* sort.h: New file. Imported from gcc.
|
* sort.h: New file. Imported from gcc.
|
||||||
|
@ -160,6 +160,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||||||
|
|
||||||
#endif /* ANSI C. */
|
#endif /* ANSI C. */
|
||||||
|
|
||||||
|
|
||||||
/* Using MACRO(x,y) in cpp #if conditionals does not work with some
|
/* Using MACRO(x,y) in cpp #if conditionals does not work with some
|
||||||
older preprocessors. Thus we can't define something like this:
|
older preprocessors. Thus we can't define something like this:
|
||||||
|
|
||||||
@ -221,4 +222,11 @@ So instead we use the macro below and test it against specific values. */
|
|||||||
#define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6)
|
#define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6)
|
||||||
#endif /* ATTRIBUTE_PRINTF */
|
#endif /* ATTRIBUTE_PRINTF */
|
||||||
|
|
||||||
|
/* We use __extension__ in some places to suppress -pedantic warnings
|
||||||
|
about GCC extensions. This feature didn't work properly before
|
||||||
|
gcc 2.8. */
|
||||||
|
#if GCC_VERSION < 2008
|
||||||
|
#define __extension__
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ansidecl.h */
|
#endif /* ansidecl.h */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user