NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/58654: lint(1) chokes on stdatomic.h



>Number:         58654
>Category:       toolchain
>Synopsis:       lint(1) chokes on stdatomic.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 13:35:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, ...
>Organization:
The __atomic_netbsd_lint
>Environment:
>Description:
/home/riastradh/netbsd/current/src/lib/libc/gen/arc4random.c(433): error: syntax error '__atomic_load_ptr' [249]

    433 	if (atomic_load_explicit(&initialized, memory_order_acquire)) {

https://nxr.netbsd.org/xref/src/lib/libc/gen/arc4random.c?r=1.37#433
>How-To-Repeat:
lint libc in HEAD right now
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index