Use -std=c11 when compiling with Bazel

The -std=c89 option is too pedantic, and the old CodeWarrior compiler
accepts various extensions (like line comments) anyway. Rather than
using -std=c89 to ensure the code is compatible with old compilers, we
will actually test on the old compilers.
This commit is contained in:
Dietrich Epp 2022-04-10 04:14:14 -04:00
parent 4d4ee214b3
commit ad220442d7

View File

@ -12,7 +12,7 @@
# Base C options # Base C options
COPTS_BASE = [ COPTS_BASE = [
"-std=c90", "-std=c11",
] ]
_COPTS_WARNING = [ _COPTS_WARNING = [