Quellcode durchsuchen

Tweak toolchain flags and enable Werror

default_compile_flags
vector-of-bool vor 4 Jahren
Ursprung
Commit
e1ceaf33dc
4 geänderte Dateien mit 9 neuen und 12 gelöschten Zeilen
  1. +2
    -2
      tools/freebsd-gcc-9.next.jsonc
  2. +2
    -2
      tools/gcc-9-static.jsonc
  3. +4
    -7
      tools/gcc-9.next.jsonc
  4. +1
    -1
      tools/msvc.next.jsonc

+ 2
- 2
tools/freebsd-gcc-9.next.jsonc Datei anzeigen

@@ -3,8 +3,8 @@
"compiler_id": "gnu",
"c_compiler": "gcc9",
"cxx_compiler": "g++9",
"flags": [
"-Werror=return-type",
"warning_flags": [
"-Werror",
],
"cxx_flags": [
"-fconcepts",

+ 2
- 2
tools/gcc-9-static.jsonc Datei anzeigen

@@ -3,8 +3,8 @@
"compiler_id": "gnu",
"c_compiler": "gcc-9",
"cxx_compiler": "g++-9",
"flags": [
"-Werror=return-type",
"warning_flags": [
"-Werror",
],
"cxx_flags": [
"-fconcepts",

+ 4
- 7
tools/gcc-9.next.jsonc Datei anzeigen

@@ -3,9 +3,8 @@
"compiler_id": "gnu",
"c_compiler": "gcc-9",
"cxx_compiler": "g++-9",
"flags": [
"-Werror=return-type",
// "-fsanitize=address",
"warning_flags": [
"-Werror",
],
"cxx_flags": [
"-fconcepts",
@@ -14,10 +13,8 @@
"link_flags": [
"-static-libgcc",
"-static-libstdc++"
// "-fsanitize=address",
// "-fuse-ld=lld",
],
"debug": true,
// "optimize": true,
// "debug": true,
"optimize": true,
"compiler_launcher": "ccache"
}

+ 1
- 1
tools/msvc.next.jsonc Datei anzeigen

@@ -2,7 +2,7 @@
"$schema": "../res/toolchain-schema.json",
"compiler_id": "msvc",
"flags": [
"/Zc:preprocessor", // Required for range-v3
"/Zc:preprocessor",
"/std:c++latest",
],
"link_flags": [

Laden…
Abbrechen
Speichern