From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerald Pfeifer To: Milan Zamazal Cc: Wes Barris , Subject: Re: gnats compiling error Date: Sun, 11 Mar 2001 16:20:00 -0000 Message-id: References: <873dck87tg.fsf@zamazal.org> X-SW-Source: 2001-q1/msg00052.html On 11 Mar 2001, Milan Zamazal wrote: > I don't have access to the standard and gcc 2.95.3 (which I use) > compiles the file without any complaints so could someone provide > me more details about that thing please? ISO C specififes a minimum string length that a conforming compiler must be able to process. This is a lower bound and a decent compiler will not have such a low limit, but to be an the safe side, current snapshots of GCC and thus also GCC 3.0 (will) warn about strings exceeding this length. > Is it sufficient to simply split the long string into several strings > via string concatenation > > "..." "..." "..." "..." No, I don't think so, for the result will be one big string. Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/