aboutsummaryrefslogtreecommitdiff
path: root/include/ansidecl.h
AgeCommit message (Collapse)AuthorFilesLines
2017-07-31Fix compile time error when using ansidecl.h with an old version of GCC.Nick Clifton1-12/+18
PR 21850 * ansidecl.h (OVERRIDE): Protect check of __cplusplus value with #idef __cplusplus.
2017-01-02Update year range in copyright notice of all files.Alan Modra1-1/+1
2016-10-14FINAL/OVERRIDE: Define to empty on g++ < 4.7Pedro Alves1-5/+15
final/override were only implemented in g++ 4.7. include/ChangeLog 2016-10-14 Pedro Alves <palves@redhat.com> * ansidecl.h [__cplusplus >= 201103 && GCC_VERSION < 4007] (FINAL, OVERRIDE): Define as empty. [__cplusplus < 201103 && GCC_VERSION < 4007] (FINAL): Define as __final. [__cplusplus < 201103 && GCC_VERSION >= 4007] (OVERRIDE): Define as empty.
2016-10-14Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.hPedro Alves1-6/+22
So that GDB and other projects that share the top level can use them. Bootstrapped with all default languages + jit on x86-64 Fedora 23. gcc/ChangeLog: 2016-10-14 Pedro Alves <palves@redhat.com> * coretypes.h (OVERRIDE, FINAL): Delete, moved to include/ansidecl.h. include/ChangeLog: 2016-10-14 Pedro Alves <palves@redhat.com> * ansidecl.h (GCC_FINAL): Delete. (OVERRIDE, FINAL): New, moved from gcc/coretypes.h.
2016-01-01Copyright update for binutilsAlan Modra1-1/+1
2015-08-12Sync ansidecl.h with GCCH.J. Lu1-0/+9
Sync with GCC 2015-08-11 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * ansidecl.h (GCC_FINAL): New macro.
2015-07-14Sync ansidecl.h with GCCH.J. Lu1-0/+9
Sync with GCC 2015-03-02 Markus Trippelsdorf <markus@trippelsdorf.de> PR target/65261 * ansidecl.h (ATTRIBUTE_NO_SANITIZE_UNDEFINED): New macro.
2015-01-02ChangeLog rotatation and copyright year updateAlan Modra1-3/+1
2014-01-21[PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, ↵tromey1-139/+2
PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206881 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-082013-10-29 Marc Glisse <marc.glisse@inria.fr>glisse1-0/+9
PR tree-optimization/58689 include/ * ansidecl.h (ATTRIBUTE_RETURNS_NONNULL): New macro. * libiberty.h (basename, lbasename, dos_lbasename, unix_lbasename, concat_copy): Mark with attributes nonnull(1) and returns_nonnull. (concat, reconcat, concat_copy2, choose_temp_base, xstrerror, xmalloc, xrealloc, xcalloc, xstrdup, xstrndup, xmemdup, pex_init): Mark with attribute returns_nonnull. libiberty/ * concat.c: Remove note about xmalloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204159 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-18merge from gccDJ Delorie1-1/+8
2011-10-22* obstack.h [!GNUC] (obstack_free): Avoid cast to int.DJ Delorie1-2/+4
* ansidecl.h (ENUM_BITFIELD): Always use enum in C++
2011-04-25gdb/Jan Kratochvil1-0/+9
* defs.h (ENUM_BITFIELD): Remove. include/ * bfdlink.h (ENUM_BITFIELD): Remove. merge from gcc: include/ * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
2010-01-05merge from gccDJ Delorie1-2/+2
2009-06-16merge from gccDJ Delorie1-6/+15
2009-06-03merge from gccDJ Delorie1-0/+12
2009-06-01merge from gccDJ Delorie1-3/+12
2007-03-06merge from gccDJ Delorie1-0/+16
2006-12-06merge from gccDJ Delorie1-1/+1
2006-12-06Define ATTRIBUTE_PACKED and use as necessary.Nick Clifton1-0/+6
2005-07-03merge from gccDJ Delorie1-0/+9
2005-05-30merge from gccDJ Delorie1-0/+16
2005-05-24merge from gccDJ Delorie1-2/+2
2005-05-10Update the address and phone number of the FSF organizationNick Clifton1-1/+1
2005-02-14merge from gccDJ Delorie1-0/+5
2004-09-05merge from gccDJ Delorie1-0/+9
2004-07-24merge from gccDJ Delorie1-0/+8
2004-07-21merge from gccDJ Delorie1-0/+9
2003-06-17merge from gccDJ Delorie1-11/+0
2003-03-17merge from gccDJ Delorie1-1/+29
2002-10-25merge from gccDJ Delorie1-1/+4
2001-08-29merge from gccDJ Delorie1-5/+7
2001-08-27merge from gccDJ Delorie1-4/+4
2001-08-18merge from gccDJ Delorie1-137/+179
2001-05-11merge from gccDJ Delorie1-10/+0
2001-04-04merge from gccDJ Delorie1-0/+28
2001-03-14Fix typos in ChangeLogs; add coff/external.h; fix copyright datesNick Clifton1-1/+2
2000-06-172000-05-06 Zack Weinberg <zack@wolery.cumb.org>H.J. Lu1-0/+8
* ansidecl.h: #define __extension__ to nothing if GCC_VERSION < 2008.
2000-02-22merge with include from egcs 2000-02-22Ian Lance Taylor1-6/+34
1999-07-11 * ansidecl.h: Copy attribute support macros from egcs.Ian Lance Taylor1-1/+34
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+163