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: undef _FORTIFY_SOURCE before setting #270

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

FeignClaims
Copy link
Contributor

@FeignClaims FeignClaims commented Aug 12, 2024

Build failed on (macos-12, clang-15, release, developer_mode (warnings_as_errors)) because of

error: '_FORTIFY_SOURCE' macro redefined [clang-diagnostic-macro-redefined,-warnings-as-errors]

After some research, I noticed both this guide and firefox recommend/use -U_FORTIFY_SOURCE before -D_FORTIFY_SOURCE=3 to avoid this problem, So I suggest to fix this issue in this way.

@FeignClaims FeignClaims marked this pull request as draft August 12, 2024 15:57
@FeignClaims FeignClaims marked this pull request as ready for review August 12, 2024 16:24
@aminya aminya merged commit d856abd into aminya:main Aug 12, 2024
18 checks passed
@FeignClaims FeignClaims deleted the fix/undef_fortify_source branch August 13, 2024 10:19
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.

2 participants