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

Fix Build GCC>13 and C++>=20. #3033

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

jlsantiago0
Copy link
Contributor

C++20: template ID is not allowed in constructor and build fails for GCC>13 and/or c++>=20.

/home/jsantiago/tt09/srt/srtcore/sync.h:575:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  575 |     CSharedObjectPtr<T>()
      |                        ^
/home/jsantiago/tt09/srt/srtcore/sync.h:575:24: note: remove the ?< >?

@maxsharabayko maxsharabayko added this to the v1.5.4 milestone Oct 7, 2024
@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior [core] Area: Changes in SRT library core labels Oct 7, 2024
@maxsharabayko maxsharabayko merged commit fe638be into Haivision:master Oct 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants