On Mon, 25 Apr 2005, julien thai wrote:
> i found that in ares_private.h, Line 116,
> /* Query status */
> int try;
> it seems that the author redefine the keyword of C/C++ try.
> Why does not the compiler make a error?
> Can someone explain for me?
Sure: c-ares is C. In C there is no 'try' keyword.
But in general is is wise to avoid C++ keywords in C as well, so this should
probably be renamed.
-- c-ares -- my preferred DNS asynch resolver library _______________________________________________ http://cool.haxx.se/mailman/listinfo/c-aresReceived on Mon Apr 25 22:03:20 2005