Subject: Re: c-ares + IPv6 problem

Re: c-ares + IPv6 problem

From: Guenter <lists_at_gknw.net>
Date: Wed, 18 May 2011 03:59:21 +0200

Am 16.05.2011 18:00, schrieb David Stuart:
> With regards to the change from "try" to "try_count", I agree it
> shouldn't be needed, but I couldn't figure out the right combination of
> extern "C" in Visual Studio to get it to stop complaining about this
> keyword (the header files are referenced from C++ files in our project).
> So, I figured it was an innocuous enough change to try to sneak in ;)
we should always avoid using C++ keywords in plain C; MSVC isnt the only
compiler which stumbles over these - I've seen a couple of times same
with OpenWatcom and Metrowerks CodeWarrior too ...

Gün.
Received on 2011-05-18