You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build the library on ARM64 failed on cc1plus: error:‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
Uncomment -Wall to fix it. (or add -Wformat is better? )
Hi @HmnSn
Thanks for highlighting the issue.
To understand this issue better, could you please provide the following details as we are not able to reproduce this issue.
What is the operating system on which it is built?
Can you share the build commands and cmake flags.
What is the build type (Release/Debug) and share the build logs as well if available.
What is the GmmLib Version on which you experiencing this issue?
Hi @HmnSn Thanks for highlighting the issue. To understand this issue better, could you please provide the following details as we are not able to reproduce this issue.
What is the operating system on which it is built?
Can you share the build commands and cmake flags.
What is the build type (Release/Debug) and share the build logs as well if available.
What is the GmmLib Version on which you experiencing this issue?
Sorry for the late reply. The distribution I’m using is AOSC OS on aarch64 machine. I think the reason some distributions cannot reproduce the issue is that the GCC specs they ship add -Wformat and -Wformat-security by default, such as in Ubuntu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build the library on ARM64 failed on
cc1plus: error:‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]Uncomment -Wall to fix it. (or add -Wformat is better? )