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


>>>>> "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


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