forked from personal/squiggle.c
README tweaks
This commit is contained in:
parent
bb91fd4473
commit
c480565051
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user