Skip to content

Add AMBER_DISABLE_WEVERYTHING and AMBER_DISABLE_WERROR options - #1013

Merged
dj2 merged 3 commits into
google:mainfrom
jbauman42:disablewerroroption
Feb 2, 2023
Merged

dj2 merged 3 commits into
google:mainfrom
jbauman42:disablewerroroption

Conversation

@jbauman42

Copy link
Copy Markdown

New compiler versions may add additional warnings; in particular, -Weverything includes warnings that are unstable and may not be generally-applicable.

To assist projects like VK-GL-CTS that may depend on old versions of amber for a long period of time, add AMBER_DISABLE_WERROR and AMBER_DISABLE_WEVERYTHING flags to allow disabling those warnings downstream. That allows those projects to be built with newer versions of clang without needing to fork amber and disable unwanted warnings.

New compiler versions may add additional warnings; in particular,
-Weverything includes warnings that are unstable and may not be
generally-applicable.

To assist projects like VK-GL-CTS that may depend on old versions of
amber for a long period of time, add AMBER_DISABLE_WERROR and
AMBER_DISABLE_WEVERYTHING flags to allow disabling those warnings
downstream. That allows those projects to be built with newer versions
of clang without needing to fork amber and disable unwanted warnings.
Comment thread CMakeLists.txt Resolved
@dj2

dj2 commented Jan 9, 2023

Copy link
Copy Markdown
Collaborator

@dneto0 are you happy with this? It looks good to me, but wanted to make sure you were good.

@dj2

dj2 commented Feb 2, 2023

Copy link
Copy Markdown
Collaborator

Apologies, I just realized this didn't get merged. I'm going to run the bots and get it merged for you. Sorry for the delay.

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.

3 participants