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

Build errors: redeclaration of <...> may not have default arguments [-fpermissive] #2

Closed
gim- opened this issue Jun 9, 2015 · 3 comments

Comments

@gim-
Copy link

gim- commented Jun 9, 2015

Build fails on Arch Linux with a few syntax errors like this:

error: redeclaration of ‘template<class T> void asl::combineArrays(T*, T*, T*, unsigned int, T*, unsigned int)’ may not have default arguments [-fpermissive]

Full error output: http://pastebin.com/Z4ZsLqgQ

OS: Arch Linux x86_64
ASL version: 0.1.2

@lupinix
Copy link

lupinix commented Jun 11, 2015

I can confirm this issue on Fedora 22.

@AvtechScientific
Copy link
Owner

We have fixed this without relying on -fpermissive - will release it soon...

@gim-
Copy link
Author

gim- commented Jun 12, 2015

Still the same issue persists: http://pastebin.com/Y2d27UPM
CMake version: 3.2.3
Defining the CMAKE_CXX_FLAGS="-fpermissive" in this block works as a workaround again.

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

3 participants