On Mon, 04 Jan 2021 20:20:58 -, Karl Palsson wrote:
> This is akin to the classic problem of logging macros turning off
> code. You need to introduce an extra variable for the assert to
> check. (If you want to keep going down this path)
Thank you very much for your 'junk' code :) I've tested
From: Ye Holmes
Signed-off-by: Ye Holmes
---
libs/openpgm/Makefile | 64 +++
.../0001-Rename-openpgm-5.2.pc.in.patch | 22 +++
...hecksum.c-fix-build-with-32-bits-MMX.patch | 38 +++
3 files changed, 124 insertions(+)
create mode 100644
From: Ye Holmes
wrap around chown with `assert, this avoids unused result
warnings being treated as errors by prebuilt GCC (with
glibc-2.31, version 10.2):
procd-2020-12-12-7f12c89d/state.c: In function 'state_enter':
procd-2020-12-12-7f12c89d/state.c:147:4: error: ignoring
return value of 'ch
From: Ye Holmes
Output warning in case changing the ownership of ubus' home
directory has failed. Besides, this avoids treating unused
result warning as error by GCC (with glibc-2.31, version 10.2):
procd-2020-12-12-7f12c89d/state.c: In function 'state_enter':
procd-2020-12-12-7f12c89d/state.c:1
From: Ye Holmes
The external toolchain scripts generated for ar/gcc-ar/ranlib/gcc-ranlib
do not work well for latest prebuilt GNU toolchain downloaded from ARM:
1. aarch64-none-linux-gnu-ar and aarch64-none-linux-gnu-ranlib cannot
generate correct static libraries for a number of packages with Li