[RFC-v5] Handle cygwin wchar_t specifics

Tom Tromey tromey@redhat.com
Thu Apr 21 14:10:00 GMT 2011


>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:

Pedro> Didn't "extern" work?

Pierre>   I didn't test it out before:
Pierre> it does work on my system, but is it
Pierre> sure it will compile and link correctly on
Pierre> all C compilers used for GDB?

Yes.

Pierre> I am perfectly willing to change this but it seemed
Pierre> to me to rely on some "obscure C compiler feature"
Pierre> (don't forget that I learned C to be able to support pascal
Pierre> language in GDB...).

:-)

This is a reasonably standard idiom for "static assert".

Tom



More information about the Gdb-patches mailing list