Skip to content
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

Problems compiling Reluplex #13

Open
iurybessa opened this issue Jan 4, 2021 · 1 comment
Open

Problems compiling Reluplex #13

iurybessa opened this issue Jan 4, 2021 · 1 comment

Comments

@iurybessa
Copy link

Hello,

I tried to build the Reluplex based on the Readme.txt instructions, however I've obtained the following error:

Reluplex.h:2701:64: error: implicitly-declared ‘String::String(const String&)’ is deprecated [-Werror=deprecated-copy]

Do you know why is it occuring?

Thank you very much!

@shchae7
Copy link

shchae7 commented Feb 25, 2021

It looks like it's because of the GCC compiler you're using. Just a simple workaround is deleting the -Werror flag from Rules.mk in reluplex/ and check_properties/.

CFLAGS += \
	-MMD \
	-Wall \
	-Wextra \
	-Werror \
	-Wno-deprecated \
	-Wno-unused-but-set-variable \
	-std=c++0x \
	\
	-g \

It returns a bunch of error messages but looks like it functions ok.

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

No branches or pull requests

2 participants