This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix compilation with gcc-4.7.x


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan>    va_start (args, fmt);
Jan>    throw_it (RETURN_ERROR, error, fmt, args);
Jan> -  va_end (args);
Jan> +  /* NOTREACHED */

My recollection is that va_start and va_end can be macros including "{"
and "}", and so one must always pair them.

It seems more like a gcc bug to me.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]