Wykobi - Error: Explicit instantiation shall not use ‘inline’ specifier [-fpermissive]
Asked Answered
A

1

14

I am trying to make / compile wykobi library (computational geometry) using the given makefile, but I keep getting the error:

error: explicit instantiation shall not use ‘inline’ specifier [-fpermissive]

How can I solve this?

Antiphonal answered 16/5, 2013 at 7:17 Comment(4)
Not an answer, but a comment. Have you considered using CGAL instead?Patnode
I have added the C++ tag to your question. If I was wrong, please feel free to revert.Stipend
What compiler and version? Also, have you tried to open that file ad remove that inline.Sweeper
I suspect it will compile if you add -fpermissive to the compiler command line.Actium
H
6

You can override the compiler flags set in the makefile from command line:

make OPTIONS_LIBS="-fpermissive -O3 -o" OPTIONS="-fpermissive -O3 -o"
Hereon answered 5/5, 2015 at 12:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.