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 compiler error: "_FORTIFY_SOURCE" redefined #650

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

brenkem
Copy link
Contributor

@brenkem brenkem commented Mar 13, 2024

Request to fix compiler error because new compilers (gcc >= 7.5.0-3ubuntu1~18.04) seems to define the macro _FORTIFY_SOURCE by default and creates a conflict with the macro definition from the project.

Details can be found in the issue here.

CMakeLists.txt Outdated Show resolved Hide resolved
@brenkem
Copy link
Contributor Author

brenkem commented Mar 21, 2024

Sure. Just deside how to handle it. The project can deside. I only want to build it with buildroot without further patching to fix this double definition in new compiler versions.

So what shall I implement? The option above? Just tell me. It only needs to compile.

Co-authored-by: sgpires <[email protected]>
@fcmonteiro fcmonteiro requested review from sgpires and goncaloalmeida and removed request for sgpires March 21, 2024 14:02
@goncaloalmeida goncaloalmeida merged commit 38f9c54 into COVESA:master Mar 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants