[Issue 23701] New: compilable/test23214.c:3:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uintptr_t’
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Feb 12 15:37:50 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=23701
          Issue ID: 23701
           Summary: compilable/test23214.c:3:26: error: expected ‘=’, ‘,’,
                    ‘;’, ‘asm’ or ‘__attribute__’ before ‘uintptr_t’
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org
When compiling the test with `gcc -std=c11 -fsyntax-only`
compilable/test23214.c:3:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘uintptr_t’
    3 | typedef unsigned __int64 uintptr_t;
      |                          ^~~~~~~~~
Test:
```
// https://issues.dlang.org/show_bug.cgi?id=23214
typedef unsigned __int64 uintptr_t;
```
--
    
    
More information about the Digitalmars-d-bugs
mailing list