From b78faebdc547f8408b5d1429bbd0f66e0958057d Mon Sep 17 00:00:00 2001 From: churl Date: Mon, 23 May 2022 14:06:53 +0200 Subject: [PATCH] readme --- c_os/README | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/c_os/README b/c_os/README index 8ca8a8d..cbf741e 100755 --- a/c_os/README +++ b/c_os/README @@ -1,7 +1,10 @@ -Implementierungen in folgenden Dateien +Makefile ====================================== -main.cc -devices/CGA.h -devices/CGA.cc -devices/PCSPK.cc +I added the -std=c++17 flag to enable better constexpr support. +Clang Tidy +====================================== +The compile_commands.json is used by clang-tidy. +To generate it from the makefile, use bear: "bear -- make". +There are two options that clang doesn't know: -mpreferred-stack-boundary=2 and -mmanual-endbr. +These should be removed from the compile_commands.json so clang-tidy won't throw errors for every file.