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: [RFC-v5] Handle cygwin wchar_t specifics


On Wednesday 20 April 2011 08:59:31, Pierre Muller wrote:
> +static char your_gdb_wchar_t_is_bogus[(sizeof (gdb_wchar_t) == 2
> +                                      || sizeof (gdb_wchar_t) == 4)
> +                                     ? 1 : -1];
> +

Didn't "extern" work?

-- 
Pedro Alves


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