Re: Squid 1.2 beta 15 with latest patches (26 Feb 18:15 UTC)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 02 Mar 1998 23:18:25 +0100

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Alex Rousskov wrote:
 
> Which should be OK since the corresponding parameter of
> httpHeaderEntryInit() is a union of all of those types.
> Well, at least my gcc eats it just fine. Of course, some
> compilers/users might prefer (void *) and then type casting.. :)

If you try to compile code like this with --pedantic, then GCC emits the
following warning:
warning: ANSI C prohibits argument conversion to union type

Looks like you used a non-portable calling convention.

/Henrik

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:43 MST