cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_setopt and typeof

From: Jamie Lokier <jamie_at_shareable.org>
Date: Mon, 14 Apr 2008 23:40:17 +0100

David Shaw wrote:
> The main issue with
> bitfields is that the "typeof" gcc builtin doesn't work with it, so it
> breaks the type-checking macro that curl is using.

There might be a solution to this using __builtin_types_compatible_p()
instead of __typeof__().

-- Jamie
Received on 2008-04-15