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

Build error because of -Werror=template-id-cdtor in C++20 #5340

Open
1 task done
kistlin opened this issue Oct 17, 2024 · 0 comments · May be fixed by #5341
Open
1 task done

Build error because of -Werror=template-id-cdtor in C++20 #5340

kistlin opened this issue Oct 17, 2024 · 0 comments · May be fixed by #5341
Labels
in progress Issue or PR which is being reviewed

Comments

@kistlin
Copy link

kistlin commented Oct 17, 2024

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

Build completes without errors.

Current behavior

Build breaks with thirdparty/filewatch/FileWatch.hpp:129:22: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor].

Steps to reproduce

Build with gcc (GCC) 14.2.1 20240910.

Fast DDS version/commit

3.1.0 and later for sure.

Platform/Architecture

Other. Please specify in Additional context section.

Transport layer

Default configuration, UDPv4 & SHM

Additional context

No response

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

@kistlin kistlin added the triage Issue pending classification label Oct 17, 2024
kistlin added a commit to kistlin/Fast-DDS that referenced this issue Oct 17, 2024
error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
@JesusPoderoso JesusPoderoso linked a pull request Oct 31, 2024 that will close this issue
9 tasks
@JesusPoderoso JesusPoderoso added in progress Issue or PR which is being reviewed and removed triage Issue pending classification labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress Issue or PR which is being reviewed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants