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?

enrico.bacis
  • 30,497
  • 10
  • 86
  • 115
Harsha Rama
  • 349
  • 2
  • 5
  • 11

1 Answers1

6

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

make OPTIONS_LIBS="-fpermissive -O3 -o" OPTIONS="-fpermissive -O3 -o"
simon
  • 1,210
  • 12
  • 26