live555在ubuntu2204上编译报错
error: 'struct std::atomic_flag' has no member named 'test'
原因为默认配置不支持c++20版本
解决方案为修改对应的config,加入-std=c++2a,以config-linux-64bit为例
- CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1
+ CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 -std=c++2a