libevent win32 使用时的编译错误

来源:互联网 发布:淘宝麦迪黑莓手机网店 编辑:程序博客网 时间:2024/05/16 17:47

bufferevent.h(592) : error C2955: 'pair' : use of class template requires template argument list

把int bufferevent_pair_new(struct event_base *base, int options,
    struct bufferevent *pair[2]);

改成int bufferevent_pair_new(struct event_base *base, int options,
    struct bufferevent *evpair[2]);




原创粉丝点击