OMEN icon indicating copy to clipboard operation
OMEN copied to clipboard

Make CFLAG issue on old version of Ubuntu

Open lakiw opened this issue 8 years ago • 0 comments

I tried to compile OMEN on a very old version of Ubuntu (long story), and ran into the following issues when running Make:

cc1: error: unrecognized command line option ‘-Wpedantic’ cc1: error: unrecognized command line option ‘-std=gnu11’

To fix it, I changed the CFLAG variable in the makefile to -pedantic and -std=gnu99. After that OMEN compiled and worked as expected.

Ubuntu Version: 12.04.5 LTS gcc version 4.6.3

Note, I ran into a similar problem when I tried that out on a similarly out of date CentoOS release 6.7

lakiw avatar May 30 '17 21:05 lakiw