ImportC octal literals: difference between GCC and dmd

russhy russhy at gmail.com
Sat Nov 27 04:11:16 UTC 2021


Looks like ImportC has issues with ``08.0`` and ``09.0``


```D
static double F[2] =
     {
         08.0,
         09.0,
     };
```
```
$ dmd -c test.c
test.c(3): Error: octal digit expected, not `8`
test.c(3): Error: octal digit expected, not `8`
test.c(4): Error: octal digit expected, not `9`
```


More information about the Digitalmars-d mailing list