[Issue 23802] New: ImportC: __volatile__ is yet another alias for volatile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 22 23:32:11 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23802

          Issue ID: 23802
           Summary: ImportC: __volatile__ is yet another alias for
                    volatile
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: dave287091 at gmail.com

Several macOS headers use __volatile__ as in __asm__ __volatile__. As asm
volatile can now be parsed, this causes errors in code that would other compile
fine.

--


More information about the Digitalmars-d-bugs mailing list