[Libevent-users] evdns C++ incompatibility
Roger Clark
rogerclark at gmail.com
Tue Oct 2 02:49:28 EDT 2007
At least on my system, gcc complains about 'class' being used in these
places in evdns.h:
struct evdns_server_question {
int type;
int class;
char name[1];
};
and
int evdns_server_request_add_reply(struct evdns_server_request *req,
int section, const char *name, int type, int class, int ttl, int
datalen, int is_name, const char *data);
It's probably a good idea to be on the safe side and change these
identifiers to something else. I'm sure someone else will run into the
problem eventually.
--
Roger Clark
rogerclark at gmail.com
More information about the Libevent-users
mailing list