chenBright commented on PR #2256: URL: https://github.com/apache/brpc/pull/2256#issuecomment-1562217179
> > > 低版本的GCC82默认就是noexcept(false)的。 > > > > > > 那就是说低版本的编译器,堆栈是完整的,只有高版本编译器有这个问题吗? > > 应该是取决于编译器是否认为这个析构函数是noexcept的,如果编译器认为它是noexcept的,那么堆栈就会回溯到这个析构函数结束的地方,堆栈就不完整。 因为我是百度的同学,我们厂内只提供了 GCC82 GCC10 GCC12 CLANG10 CLANG14 哦哦 显式指定noexcept(false),就可以抹平编译器之间的差异 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
