Daniel Wildermuth ist bis zum 15.Oktober 2010 nicht im Büro. In dringenden 
Fällen bitte Marco Schmid(ma...@schmid-engineering.ch) kontaktieren. 


Daniel Wildermuth is out of Office until October 15th 2010. Is it urgent ? 
Then please contact Marco Schmid(ma...@schmid-engineering.ch))

-- 
infinite loop if char is unsigned
https://bugs.launchpad.net/bugs/655821
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.

Status in Linux port of Cuneiform: New

Bug description:
make_limits function (Kern/rstr/src/cutpoint.c) falls into an infinite loop if 
the "char" type is unsigned. (Whether it is signed or unsigned is 
implementation defined, and it's in fact unsigned by default on some 
architectures.)

Because there are probably many other places where it is assumed thar "char" is 
signed, I propose the following work-around:

if(CMAKE_COMPILER_IS_GNUCC)
    add_definitions("-fsigned-char")
endif()



_______________________________________________
Mailing list: https://launchpad.net/~cuneiform
Post to     : cuneiform@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cuneiform
More help   : https://help.launchpad.net/ListHelp

Reply via email to