-
Notifications
You must be signed in to change notification settings - Fork 201
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
compile fail #64
Comments
其实这儿还有一些类似的问题,都是对tls的访问的缓存上(errno那个因为多了个函数调用,把问题变成了const这个attribute)。之前在开了tsan的情况下 针对这些缓存问题https://www.mail-archive.com/[email protected]/msg96208.html 有一些讨论,不过实现起来看起来有些困难。 可以试试把几个BUILD里面的 |
另一种办法(preferably)是干脆不用 这个函数的实现( 后面我改成这样试试看。 |
恩恩 好 |
这个问题好像还是存在, gcc12 |
./flare/base/demangle.h: In function 'std::string flare::GetTypeName(T&&) [with T = const Message&]':
./flare/base/demangle.h:33:52: error: 'nonnull' argument 'o' compared to NULL [-Werror=nonnull-compare]
33 | return Demangle(typeid(std::forward<T>(o)).name());
|
Ubuntu-latest workflows will use Ubuntu-22.04 https://github.com/Tencent/flare/actions/runs/3556570315 |
catch2那个似乎是opentracing跑去用clang编译了,回头看看能不能强制指定gcc试试。 |
嗯, |
GCC12 有一个 |
|
@0x804d8000 我可以在 # vscode clangd
/.cache
/compile_commands.json 吗? |
改成 |
把 |
编译环境 gcc 版本 11.2.0 (GCC)
这里缺少头文件, 加入头文件 optional 就行
这个我暂时将/usr/include/sys/cdefs.h中的__glibc_has_attribute (const)删了,希望有更好的解决办法
在thirdparty/curl/BUILD的configure_options里加入'--without-librtmp'和'--without-libpsl'
The text was updated successfully, but these errors were encountered: