gcc version 15.2.1 20251211 (Red Hat 15.2.1-5) (GCC)

Fedora 42, amd64

Just trying something for a test:

```
$ gcc -E /usr/include/openssl/ssl.h > ssl.i
/usr/include/openssl/ssl.h:19:10: warning: ‘#pragma once’ in main file [-Wpragma-once-outside-header]
   19 | # pragma once
      |          ^~~~

$ echo 'import ssl;' > foo.d
$ gdc foo.d
/usr/include/inttypes.h:358:51: error: found ‘__nptr’ when expecting ‘,’
  358 | extern intmax_t strtoimax (const char *__restrict __nptr,
      |                                                   ^
/usr/include/inttypes.h:358:57: error: no type-specifier for parameter
  358 | extern intmax_t strtoimax (const char *__restrict __nptr,
      |                                                         ^
/usr/include/inttypes.h:359:46: error: found ‘__endptr’ when expecting ‘,’ 359 | char **__restrict __endptr, int __base) __THROW;
      |                                              ^
/usr/include/inttypes.h:359:54: error: no type-specifier for parameter 359 | char **__restrict __endptr, int __base) __THROW;
      |                                                      ^
/usr/include/inttypes.h:362:52: error: found ‘__nptr’ when expecting ‘,’
  362 | extern uintmax_t strtoumax (const char *__restrict __nptr,
      |                                                    ^
/usr/include/inttypes.h:362:58: error: no type-specifier for parameter

....
```

Fail.

Can we get some better documentation how to use for more than some toy examples?

Reply via email to