Skip to content

Remove unneeded clang warning flags.#7517

Merged
dlang-bot merged 3 commits intodlang:masterfrom
ibuclaw:defaultclang
Dec 27, 2017
Merged

Remove unneeded clang warning flags.#7517
dlang-bot merged 3 commits intodlang:masterfrom
ibuclaw:defaultclang

Conversation

@ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Dec 25, 2017

Fixed version of #7515

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

-std=gnu++98
endif
# Clang Specific
ifeq ($(CXX_KIND), clang++)
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI g++ supports this flag too (and actually my local clang++ doesn't trigger a warning without it). In any case I don't think there's any harm in always letting -xc++ be part of the CXXFLAGS.

Copy link
Member Author

Choose a reason for hiding this comment

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

I must have been doing something weird the first time I ran make with cxx=clang because I couldn't reproduce after the a couple runs, maybe I added or removed something before resetting the branch, such as deprecation warnings.

@dlang-bot dlang-bot merged commit d61b1d1 into dlang:master Dec 27, 2017
@ibuclaw ibuclaw deleted the defaultclang branch December 27, 2017 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants