qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit ef6e9a53129777a5f16fb180f633583726376ec4
parent 5bdeb7dad11c1566cf35ea2c70db20f66d1823a8
Author: QMK Bot <hello@qmk.fm>
Date:   Wed, 11 Jun 2025 04:30:11 +0000

Merge remote-tracking branch 'origin/master' into develop

Diffstat:
Mlib/python/qmk/compilation_database.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/python/qmk/compilation_database.py b/lib/python/qmk/compilation_database.py @@ -41,9 +41,9 @@ def cpu_defines(binary: str, compiler_args: str) -> List[str]: if binary.endswith("gcc") or binary.endswith("g++"): invocation = [binary, '-dM', '-E'] if binary.endswith("gcc"): - invocation.extend(['-x', 'c']) + invocation.extend(['-x', 'c', '-std=gnu11']) elif binary.endswith("g++"): - invocation.extend(['-x', 'c++']) + invocation.extend(['-x', 'c++', '-std=gnu++14']) compiler_args = shlex.split(compiler_args) invocation.extend(compiler_args) invocation.append('-')