This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [c++] pedwarn about invalid pure specifiers (e.g "= 0L")
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Michael Matz <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Feb 2004 06:43:48 +0000
- Subject: Re: [c++] pedwarn about invalid pure specifiers (e.g "= 0L")
- References: <Pine.LNX.4.58.0402250416350.24101@wotan.suse.de>
Michael Matz wrote:-
> Index: cpplib.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/cpplib.h,v
> retrieving revision 1.278
> diff -u -p -r1.278 cpplib.h
> --- cpplib.h 19 Feb 2004 22:18:49 -0000 1.278
> +++ cpplib.h 25 Feb 2004 03:25:32 -0000
> @@ -170,6 +170,8 @@ struct cpp_string
> #define NO_EXPAND (1 << 5) /* Do not macro-expand this token. */
> #define BOL (1 << 6) /* Token at beginning of line. */
>
> +#define SINGLE_DIGIT STRINGIFY_ARG /* If this token was a single digit. */
> +
> /* A preprocessing token. This has been carefully packed and should
> occupy 16 bytes on 32-bit hosts and 24 bytes on 64-bit hosts. */
> struct cpp_token
Since SINGLE_DIGIT is nothing to do with the cpplib interface, this
belongs elsewhere. Perhaps c-common.h?
Neil.