[Bug 279134] The 'mb' macro in /usr/include/machine/atomic.h conflicts with variables of same name

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 May 2024 18:22:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279134

            Bug ID: 279134
           Summary: The 'mb' macro in /usr/include/machine/atomic.h
                    conflicts with variables of same name
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Log:
https://pkg-status.freebsd.org/ampere3/data/140releng-armv7-default/9476d3e04f44/logs/cardinal-24.04.log

Shouldn't the variables mb, wmb, rmb be renamed to have the atomic_ prefix?

This would reduce the chance of conflicts like this.

-- 
You are receiving this mail because:
You are the assignee for the bug.