Dpp on run.dlang.io

John Colvin john.loughran.colvin at gmail.com
Sat Aug 4 10:06:36 UTC 2018


On Saturday, 4 August 2018 at 01:27:49 UTC, Laeeth Isharc wrote:
> Thanks to Seb and Atila it is now very easy to show  a D 
> program just #includeing C headers.  If just works.  Modulo 
> bugs.  In time I am hopeful Atila will start to have more of 
> C++ headers working too.
>
> https://run.dlang.io/is/JlH3Th

Very cool.

It seems like it's on by default with no option to turn it off. 
Is that a good idea?

Also, it appears to have broken for me in the last couple of 
minutes. It worked initially, then I clicked the link again and 
ran it, got:

Error: Could not execute `dmd onlineapp.d -ofonlineapp`:
onlineapp.d(49): Error: no identifier for declarator `typedef`
onlineapp.d(49): Error: semicolon expected, not `int`
onlineapp.d(53): Error: semicolon expected, not `char`
onlineapp.d(54): Error: semicolon expected, not `short`
onlineapp.d(54): Error: no identifier for declarator `short`
onlineapp.d(55): Error: semicolon expected, not `int`
onlineapp.d(56): Error: semicolon expected, not `long`
onlineapp.d(56): Error: no identifier for declarator `long`
onlineapp.d(59): Error: semicolon expected, not `char`
onlineapp.d(60): Error: semicolon expected, not `char`
onlineapp.d(61): Error: semicolon expected, not `short`
onlineapp.d(61): Error: no identifier for declarator `short`
onlineapp.d(62): Error: semicolon expected, not `short`
onlineapp.d(62): Error: no identifier for declarator `short`
onlineapp.d(63): Error: semicolon expected, not `int`
onlineapp.d(64): Error: semicolon expected, not `int`
onlineapp.d(66): Error: semicolon expected, not `long`
onlineapp.d(66): Error: no identifier for declarator `long`
onlineapp.d(67): Error: semicolon expected, not `long`
onlineapp.d(67): Error: no identifier for declarator `long`

Program exited with code 1


More information about the Digitalmars-d-announce mailing list