vogl icon indicating copy to clipboard operation
vogl copied to clipboard

build_options.cmake CFLAGS creation is wrong [minor issue]

Open kingtaurus opened this issue 10 years ago • 0 comments

The creation of the CFLAGS as found in src/build_options.cmake is wrong. Since compliers often language specific flags (for example -std=c++98 or -std=c++11). Trying test builds with a language specific flag (-std=c++98) will cause clang to throw an error when attempting to compile src/voglcore/rmalloc.c and other pieces of C code.

Note: gcc just gives a warning

kingtaurus avatar Aug 01 '14 19:08 kingtaurus