Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2024 18:22:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279134] The 'mb' macro in /usr/include/machine/atomic.h conflicts with variables of same name
Message-ID:  <bug-279134-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279134

            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/9476d3e=
04f44/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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279134-227>