May 06, 2023
https://issues.dlang.org/show_bug.cgi?id=23899

          Issue ID: 23899
           Summary: GCC __restrict and __restrict__ type qualifier in
                    ImportC
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: mail@ernestocastellotti.it

/usr/include/time.h:100:42: error: found ā€˜__sā€™ when expecting ā€˜,ā€™
  100 | extern size_t strftime (char *__restrict __s, size_t __maxsize,
      |                                          ^
/usr/include/time.h:100:45: error: no type-specifier for parameter
  100 | extern size_t strftime (char *__restrict __s, size_t __maxsize,

Code:

extern size_t strftime (char *__restrict __s, size_t __maxsize,
                        const char *__restrict __format,
                        const struct tm *__restrict __tp) __THROW;

--