Re: Use the wctype builtins functions

2010-03-12 Thread Daniel Jacobowitz
On Thu, Mar 11, 2010 at 10:46:42AM +0100, Paolo Bonzini wrote: On 03/05/2010 05:03 PM, Joseph S. Myers wrote: I don't know if there's an existing free software implementation of UAX#14 (Unicode Line Breaking Algorithm) suitable for use in GCC; that would be the very heavyweight approach.

Re: Use the wctype builtins functions

2010-03-11 Thread Paolo Bonzini
On 03/05/2010 05:03 PM, Joseph S. Myers wrote: I don't know if there's an existing free software implementation of UAX#14 (Unicode Line Breaking Algorithm) suitable for use in GCC; that would be the very heavyweight approach. Yes. You can get it from gnulib like gdb does, or you can link

Re: Use the wctype builtins functions

2010-03-10 Thread Shujing Zhao
On 03/06/2010 12:03 AM, Joseph S. Myers wrote: On Fri, 5 Mar 2010, Ian Lance Taylor wrote: Dave Korn dave.korn.cyg...@googlemail.com writes: I think you'll probably have to use plain old iswalpha. Looking at opts.c, I'm guessing you're trying to extend the help string format to allow

Re: Use the wctype builtins functions

2010-03-05 Thread Dave Korn
On 05/03/2010 02:32, Shujing Zhao wrote: Hi, I want to use the the wctype builtins ISWALPHA and the other ISW* functions to handle the wide character string, but I get the following error: /home/gcc/build/gcc/../../trunk/gcc/opts.c:1190: undefined reference to `ISWALPHA' collect2: ld

Re: Use the wctype builtins functions

2010-03-05 Thread Ian Lance Taylor
Dave Korn dave.korn.cyg...@googlemail.com writes: I think you'll probably have to use plain old iswalpha. Looking at opts.c, I'm guessing you're trying to extend the help string format to allow unicode? Note that it may be OK to use iswalpha strictly on command line options, but using it

Re: Use the wctype builtins functions

2010-03-05 Thread Joseph S. Myers
On Fri, 5 Mar 2010, Ian Lance Taylor wrote: Dave Korn dave.korn.cyg...@googlemail.com writes: I think you'll probably have to use plain old iswalpha. Looking at opts.c, I'm guessing you're trying to extend the help string format to allow unicode? Note that it may be OK to use