Skip to content

Compiling requires GCC >= 5.0 #1602

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

Closed
tautschnig opened this issue Nov 17, 2017 · 2 comments
Closed

Compiling requires GCC >= 5.0 #1602

tautschnig opened this issue Nov 17, 2017 · 2 comments

Comments

@tautschnig
Copy link
Collaborator

As of 3eab185 the code base no longer compiles with GCC 4.9, due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987:

expr2java.cpp: In member function ‘virtual std::string expr2javat::convert_constant(const constant_exprt&, unsigned int&)’:
expr2java.cpp:285:15: error: ‘hexfloat’ is not a member of ‘std’
     buffer << std::hexfloat;
               ^
../common:214: recipe for target 'expr2java.o' failed

Either a workaround or an update of COMPILING.md are required.

@NlightNFotis
Copy link
Contributor

@tautschnig Are there any consequences to just upgrading the compiler version requirement?

@tautschnig
Copy link
Collaborator Author

I think it's ok to upgrade.

tautschnig added a commit to tautschnig/cbmc that referenced this issue Jun 12, 2018
Using GCC 5.0 or newer is required ever since 3eab185.

Fixes: diffblue#1602
Degiorgio pushed a commit to cesaro/cbmc that referenced this issue Jun 14, 2018
Using GCC 5.0 or newer is required ever since 3eab185.

Fixes: diffblue#1602
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants