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/WIP] C/C++ wchar_t/Unicode printing support


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

Daniel> As far as portability goes, we may have to experiment.  But I can tell
Daniel> you flat out that swprintf is going to be a problem; it's a C99
Daniel> library function and most hosts don't have C99 library extensions.

Thanks.  It is no trouble to avoid swprintf, I'll make this change.

Tom> I think "set charset" already does this.  It doesn't handle the target
Tom> wide charset, but that seems ok in the degraded functionality mode.

Daniel> Right.  Except that if the wide charset remains unchanged, validate
Daniel> will report an error since it can't convert to it...

Oh, duh.  Yeah.

Tom


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