diff options
| author | Mr. Goblin <mrgoblin@mrgoblin.net> | 2026-10-03 14:05:18 +0300 |
|---|---|---|
| committer | Mr. Goblin <mrgoblin@mrgoblin.net> | 2026-10-03 14:05:18 +0300 |
| commit | dda9652ec93ee5c2197a47564fd0236b69f72ffc (patch) | |
| tree | 3dbe1ff0a2cc7986b8d7d794fa8bbd7dfd787b16 | |
| parent | 9d0d219eb1012639557704643e0c31a0396508a7 (diff) | |
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | btasktd.c | 2 | ||||
| -rw-r--r-- | lib/logger/Makefile | 10 |
3 files changed, 12 insertions, 4 deletions
@@ -8,8 +8,8 @@ # export CC='gcc -fno-diagnostics-show-caret -fdiagnostics-color=never' # or # export CC='clang -fno-caret-diagnostics -fno-color-diagnostics' -# to your .bashrc|.zshrc|.shrc|.profile or whatever config file does -# your shell use +# to your .bashrc | .zshrc | .shrc | .profile or whatever config file +# does your shell use # # CC = cc -fno-caret-diagnostics -fno-color-diagnostics # CC = gcc -fno-diagnostics-show-caret -fdiagnostics-color=never @@ -430,7 +430,7 @@ main(int argc, char **argv) make_me_daemon(); logger_log(log_lvl_info, "btaskt server btasktd started on port %d. pid - %d\n", - port, getpid()); + port, getpid()); signal(SIGINT, handle_sigint); diff --git a/lib/logger/Makefile b/lib/logger/Makefile index c072a7f..74c58f0 100644 --- a/lib/logger/Makefile +++ b/lib/logger/Makefile @@ -2,7 +2,15 @@ # # SPDX-License-Identifier: BSD-2-Clause -# all 3 values commented, using make's default or export CC +# All 3 values commented, using make's default or export CC. +# If you don't like ``modern'' diagnostics, too, try uncommenting +# some of variants below or add line like: +# export CC='gcc -fno-diagnostics-show-caret -fdiagnostics-color=never' +# or +# export CC='clang -fno-caret-diagnostics -fno-color-diagnostics' +# to your .bashrc | .zshrc | .shrc | .profile or whatever config file +# does your shell use +# # CC = cc -fno-caret-diagnostics -fno-color-diagnostics # CC = gcc -fno-diagnostics-show-caret -fdiagnostics-color=never # CC = gcc |
