[Zlib-devel] zlib: Run-Time Check Failure #1 - A cast tosmallerdata type

Glenn Randers-Pehrson glennrp at comcast.net
Mon Aug 27 14:36:40 EDT 2007


At 10:56 AM 8/27/2007 -0700, Mark Adler wrote:
>On Aug 27, 2007, at 8:53 AM, Glenn Randers-Pehrson wrote:
>> It suggested
>> indenting the "#" at the beginning of the "pragma" lines to hide
>> them from tradional C.
>
>Doesn't traditional C then report an error?  Or does it treat an  
>indented # as a comment?

I would assume the latter but that's just a guess.  K&R just says
"lines beginning with '#' communicate with the preprocessor."  My
Borland manual says the same but then goes on to say whitespace
before the '#' is ignored.  I don't have access to a traditional
C compiler any more to test.

Glenn




More information about the Zlib-devel mailing list