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

Prepare to be gcc7 ready #1693

Merged
merged 3 commits into from
Jul 18, 2017
Merged

Prepare to be gcc7 ready #1693

merged 3 commits into from
Jul 18, 2017

Conversation

jenswi-linaro
Copy link
Contributor

No description provided.

cflags-y += -Wno-old-style-definition
cflags-y += -Wno-switch-default
cflags-y += -Wno-strict-prototypes
cflags-y += -Wno-missing-prototypes
cflags-y += -Wno-missing-declarations
cflags-y += -Wno-shift-negative-value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are warnings about shifting negative values disabled by default in GCC7? (or I guess they are included in extra warning, right?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, they are part of -Wextra

@igoropaniuk
Copy link
Contributor

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>

Updates compiler flags to make libpng gcc7 ready.

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Updates compiler flags to make libzlib gcc7 ready.

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Remove the armv7 compiler option -mno-apcs-float as it's not supported
by gcc 7. -apcs-float has be default disabled since at least gcc 4.8.

Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
@jenswi-linaro
Copy link
Contributor Author

Tags applied

@jforissier jforissier merged commit 23381c1 into OP-TEE:master Jul 18, 2017
@jenswi-linaro jenswi-linaro deleted the gcc7 branch July 18, 2017 14:29
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.

None yet

3 participants