chenshuo / muduo

Event-driven network library for multi-threaded Linux server in C++11
https://github.com/chenshuo/muduo
Other
14.85k stars 5.17k forks source link

/net/InetAddress.cc declaration error #510

Closed jeffreycsj closed 3 years ago

jeffreycsj commented 3 years ago

port declaration error

chenshuo commented 3 years ago

?

jeffreycsj commented 3 years ago

您好,我在Linux centos编译时,遇到了port的定义错误,我改了参数名,编译通过了,所以发了一个这个东西

---Original--- From: "Shuo @.> Date: Fri, Apr 23, 2021 03:48 AM To: @.>; Cc: @.**@.>; Subject: Re: [chenshuo/muduo] /net/InetAddress.cc declaration error (#510)

?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jeffreycsj commented 3 years ago

可能是我的编译环境有问题,我在本地下是正确的,云服务器上编译有点问题,应该环境问题,晚上回去升级下

---Original--- From: "Shuo @.> Date: Fri, Apr 23, 2021 03:48 AM To: @.>; Cc: @.**@.>; Subject: Re: [chenshuo/muduo] /net/InetAddress.cc declaration error (#510)

?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

hallo128 commented 3 years ago

我也遇到了port的声明错误,目前也还不知道要怎么改

截屏2021-04-30 下午11 24 31
flaymes commented 3 years ago

我也遇到了port的声明错误,目前也还不知道要怎么改

截屏2021-04-30 下午11 24 31

直接拉master的代码编译同样遇到了这个问题。改用tag版本的代码编译通过

chenshuo commented 3 years ago

Should be fixed now in 9aaeda812.