Skip to content

Fixed warning in unicode.cpp causing build failure #897

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

Merged
merged 2 commits into from
May 9, 2017

Conversation

NathanJPhillips
Copy link
Contributor

Also enabled warnings as errors in config.inc to match travis settings

src/config.inc Outdated

# Treat warnings as errors
#CXXFLAGS += -Werror
CXXFLAGS += -Werror
Copy link
Collaborator

Choose a reason for hiding this comment

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

As the (failing) AppVeyor build shows, this isn't portable.

@NathanJPhillips NathanJPhillips force-pushed the bugfix/warning-in-unicode branch from f00c1ec to cd2be27 Compare May 9, 2017 14:23
Tightened the replacement for MSVC to allow testing it in config.inc
@NathanJPhillips NathanJPhillips force-pushed the bugfix/warning-in-unicode branch from cd2be27 to 10eb073 Compare May 9, 2017 14:28
@NathanJPhillips
Copy link
Contributor Author

I've added the correct options for Windows, @tautschnig, but not enabled them as there are a LOT of warnings in the Windows build at the moment. @reuk will probably look into those as a separate PR. It would be good to get this building without errors on all platforms.

@kroening kroening merged commit eac93e3 into diffblue:master May 9, 2017
@NathanJPhillips NathanJPhillips deleted the bugfix/warning-in-unicode branch May 9, 2017 15:36
@tautschnig
Copy link
Collaborator

I just noticed that as of this change CBMC no longer builds with -O2 by default.

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