Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 324
Harsha Rama Avatar asked May 16 '13 07:05

Harsha Rama


1 Answers

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

make OPTIONS_LIBS="-fpermissive -O3 -o" OPTIONS="-fpermissive -O3 -o"
like image 179
simon Avatar answered Nov 16 '22 03:11

simon