commit 7813d5b36b69d9e41d9673f1fb6ed0b17cf10850 parent 104d5ddf3d42f059d37a717a5bc494f5c5a5b87c Author: Andreas Gruhler <agruhl@gmx.ch> Date: Sat, 4 Dec 2021 22:15:15 +0100 add docs for Clang compiler Diffstat:
M | docs/TESTING.md | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/docs/TESTING.md b/docs/TESTING.md @@ -23,6 +23,15 @@ To make a build with debug symbols use the `debug` target: make debug ``` +## Compile with Clang Compiler + +As pointed out in [#82](https://github.com/in0rdr/diary/issues/82) the clang compiler is a lot more useful when it comes to debugging. + +To compile the program with clang: +``` +make CC=clang +``` + ## Send stderr to File Send stderr to a file for debugging: