Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

use -fdiagnostics-color=always even for clang #7930

Merged
merged 1 commit into from
Sep 16, 2019
Merged

Conversation

spoonincode
Copy link
Contributor

Change Description

technically clang does not support -fdiagnostics-color (it's not in its docs) but it does indeed support it for gcc compat. Let's always use -fdiagnostics-color so we fix a problem where when both GCC & Clang are used in a single build there isn't a failure due to -fcolor-diagnostics (which GCC balks at)

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

technically clang does not support -fdiagnostics-color (it's not in its docs) but it does indeed support it for gcc compat. Let's always use -fdiagnostics-color so we fix a problem where when both GCC & Clang are used in a single build there isn't a failure due to -fcolor-diagnostics (which GCC balks at)
@spoonincode spoonincode merged commit 2298268 into develop Sep 16, 2019
@spoonincode spoonincode deleted the ninja_color_fix branch September 16, 2019 21:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants