Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update asio2 to 2.9 #4400

Merged
merged 6 commits into from
Jun 28, 2024
Merged

update asio2 to 2.9 #4400

merged 6 commits into from
Jun 28, 2024

Conversation

heheda123123
Copy link
Contributor

之前是因为很久没发版本了才用的commit

@heheda123123
Copy link
Contributor Author

heheda123123 commented Jun 19, 2024

有两类报错,一类是这个
image

https://github.com/zhllxt/asio2/blob/06696141283275b9d52bc7f408da53f19ef5597d/include/asio2/http/detail/flex_body.hpp#L84

另一个问题是cross里面,spdlog咋链接有问题
image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


There are two types of error reports, one is this
image
But there is no problem with the source code. Why does it become a read-only object?
https://github.com/zhllxt/asio2/blob/06696141283275b9d52bc7f408da53f19ef5597d/include/asio2/http/detail/flex_body.hpp#L84

Another problem is that there is a problem with the link in cross
image

@star-hengxing
Copy link
Contributor

不用截图,拷贝关键报错信息过来就行

  1. readonly 是因为成员函数用 const 修饰,是不能修改成员变量的
  2. undefined reference to std::__atomic_futex_unsigned_base richfelker/musl-cross-make#79

@heheda123123
Copy link
Contributor Author

不用截图,拷贝关键报错信息过来就行

  1. readonly 是因为成员函数用 const 修饰,是不能修改成员变量的
  2. undefined reference to std::__atomic_futex_unsigned_base richfelker/musl-cross-make#79

不过为啥有些又能编译通过呢

@heheda123123
Copy link
Contributor Author

heheda123123 commented Jun 28, 2024

spdlog在cross 环境下好像炸了
其他平台测试都没问题了

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


spdlog seems to explode in cross environment

@heheda123123
Copy link
Contributor Author

这个也没问题了吧?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Is this no problem?

@star-hengxing star-hengxing merged commit 1a33bbd into xmake-io:dev Jun 28, 2024
64 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants