[BUG] Build of srs fails with standard attributes in middle of decl-specifiers
on GCC 12
#2448
Labels
[build]
Area: Changes in build files
help wanted
Indicates that a maintainer wants help on an issue or pull request
Type: Bug
Indicates an unexpected problem or unintended behavior
Milestone
I'm currently trying to build srs which includes version 1.4.1 of this repo in
trunk/3rdparty/srt-1-fit
. Due to me using GCC 12.2.0 this fails withstandard attributes in middle of decl-specifiers
:To Reproduce
Steps to reproduce the behavior:
git clone -b develop https://gitee.com/ossrs/srs.git
cd srs/trunk
./configure
make
Expected behavior
srs
withsrt
succeeds to build with the latest GCC version.Desktop (please provide the following information):
Additional context
ossrs/srs#3155
https://www.gnu.org/software/gcc/gcc-12/changes.html
The text was updated successfully, but these errors were encountered: