Skip to content

编译相关2处报错 #56

@baiyfcu

Description

@baiyfcu

include/list.h中

#ifndef _list_h_
#define _list_h_

和list头文件中的宏冲突,导致include/list.h中代码失效,

libhttp/source/http-client-connection-poll.c中
http_poll_transport_onconnect需要强转才能通过编译,相关代码如下
return priv->poll(priv->param, tcp, tcp->socket, HTTP_TRANSPORT_POLL_WRITE, tcp->conn_timeout - (int)(now - tcp->send.clock), (void (*)(void* c, int event))http_poll_transport_onconnect);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions