From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulrich Drepper To: Jakub Jelinek Cc: libc-hacker@sourceware.cygnus.com Subject: Re: [PATCH] shut up warnings in bits/string2.h Date: Tue, 07 Dec 1999 23:41:00 -0000 Message-id: References: <19991207220811.M515@mff.cuni.cz> X-SW-Source: 1999-12/msg00018.html Jakub Jelinek writes: > This patch shuts up gcc 2.96 warnings about long switch expressions not > converted to int. Well, rth commented that this might fail for long strings. But those strings must be string constants, not actual strings. And gcc (nor any other compiler) will have support for strings of more than 2^32 character in length. So it should be possible to apply the patch. > How does it work on other architectures? Which functions? The generic functions should perform quite good. The copying of constant strings work by moving immedate values which is much faster. -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------