This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: PATCH: Pascal Strings -- TAKE FOUR



On Tuesday, July 3, 2001, at 06:10 , Geoff Keating wrote:

>> Another approach, I guess, could be to #ifdef that particular
>> test away on platforms where char is not 8 bits wide.
>
> I think that's probably the best choice.

I guess I'll need to #include <limits.h> to grab the UCHAR_MAX value --
or is there another way of conjuring up this information without 
including
anything?  I'd prefer to keep #includes out of test cases, if at all
possible...

--Zem
--------------------------------------------------------------
Ziemowit Laski                   Apple Computer, Inc.
zlaski@apple.com                 2 Infinite Loop, MS 302-4SN
+1.408.974.6229  Fax .1344       Cupertino, CA  95014-2085


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