From c4805650513d35d0b3ed311a8b369b3ca7759f9f Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 9 Dec 2023 19:04:42 +0000 Subject: [PATCH] README tweaks --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2234c59..7961669 100644 --- a/README.md +++ b/README.md @@ -286,10 +286,10 @@ In fact, squiggle.c does have a few functions for algebraic manipulations of sim By default, I've enabled -Wall -Wextra -Wdouble-promotion -Wconversion. However, these produce some false positive warnings, which I've dealt with through: -- For conversion: Explit casts, particularly from int to size_t when calling malloc. +- For conversion: Explicit casts, particularly from int to size_t when calling malloc. - For dealing with unused variables: Using an UNUSED macro. If you don't like that approach, you could add -Wno-unused-parameter to your makefile and remove the macro and its usage. -Some ressources on compiler flags: [1](https://nullprogram.com/blog/2023/04/29/), [2](https://news.ycombinator.com/item?id=7371806) +Some resources on compiler flags: [1](https://nullprogram.com/blog/2023/04/29/), [2](https://news.ycombinator.com/item?id=7371806) #### Results of running clang-tidy @@ -382,6 +382,7 @@ Overall, I'd describe the error handling capabilities of this library as pretty ### To do - [ ] Drive in a few more real-life applications +- [ ] Look into using size_t instead of int for sample numbers ### Done