[DPDK/core Bug 1425] enable_stdatomic=true breaks C++ on GCC 11 and earlier

bugzilla at dpdk.org bugzilla at dpdk.org
Mon Apr 29 08:21:13 CEST 2024


https://bugs.dpdk.org/show_bug.cgi?id=1425

            Bug ID: 1425
           Summary: enable_stdatomic=true breaks C++  on GCC 11 and
                    earlier
           Product: DPDK
           Version: 23.11
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: mattias.ronnblom at ericsson.com
  Target Milestone: ---

On GCC 11 and earlier, configuring enable_stdatomic=true prevents the use of
all DPDK header files that directly or indirectly include <rte_stdatomic.h>
from a C++ translation unit (e.g., app).

<rte_stdatomic.h> includes <stdatomic.h>, which in turn is not necessarily
C++-compatible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240429/8482f51a/attachment.htm>


More information about the dev mailing list