ccan
ccan copied to clipboard
The C Code Archive Network
Ccan files contain documentation comments resembling Doxygen ones, but they are not. What tool am I supposed to use?
Is this text in the web page actually supposed to be there? Has the web site been compromised? "To see how graphic codes improve the performance of new [RTG casinos](https://www.casino-online.com/rtg-casinos/),...
Using clamp from minmax.h with -Wshadow (GCC 11 and 8, haven't tested others) generates a bunch of warnings because min and max both declare _a, _b vars. Store the result...
The rationale is that this is reusable code. When reused in other software packages, it will raise alerts when spellchecking those other software packages. Of course, it is quite possible...
This PR adds convenience fields to the syntax tree returned by the GraphQL parser to allow application data to be associated with the nodes of the tree. It also fixes...
``` $ uname -a Linux singer 5.10.61-0-lts #1-Alpine SMP Thu, 26 Aug 2021 17:42:24 +0000 x86_64 GNU/Linux $ git clone git://git.ozlabs.org/~ccan/ccan $ cd ccan $ git rev-parse --short HEAD fc29adfb...
Found by gcc: ``` base64.c:196:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (more == -1) { ^ ```
Make sure `errno` is always set if `false` is to be returned. Also retry if `write(2)` returns 0.
Now I'm chasing kind of the [-Wcast-align] warnings which happens when I build c-Lightning on 32bit armv7l machine. ```ccan/ccan/crypto/sha256/sha256.c: In function 'add': ccan/ccan/crypto/sha256/sha256.c:213:22: warning: cast increases required alignment of target...
Here I am submitting a `make check` log for a 32-bit ARM box with i.MX6 based SolidRun's SoC but the same is valid also for Qualcomm MSM8974PRO-AC (see lightning issue...