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

s2s in falcON fails for gcc-11 #84

Open
teuben opened this issue Oct 15, 2021 · 3 comments
Open

s2s in falcON fails for gcc-11 #84

teuben opened this issue Oct 15, 2021 · 3 comments

Comments

@teuben
Copy link
Owner

teuben commented Oct 15, 2021

As seen on ubuntu 21.10:

    s2s p1024.in p1024.out3 filter='i<#0' params=512

fails with

falcON Error: bodyfunc::bodyfunc(): could not compile expression; perhaps it contains a syntax error

@teuben
Copy link
Owner Author

teuben commented Oct 15, 2021

deja vu on this.... was this due to otf compilation wasn't the same as the one via the makedefs/Makefile ?

@teuben
Copy link
Owner Author

teuben commented Oct 15, 2021

voila, the default is now -std=c++17, and it seems falcON needs -std=c++14 or below. I've decided on c++11, since code was developed as late as 2011.
See code fix in falcON/src/public/lib/bodyfunc.cc where this is now hardcoded to be c++11.

@teuben
Copy link
Owner Author

teuben commented Oct 15, 2021

See also #56

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

1 participant