4 ms·
Those are 8 errors, all from 1 language change, which can be fixed by inserting 8 characters.
by crazypython 5y ago
Those are 8 errors, all from 1 language change, which can be fixed by inserting 8 characters.
- mingodad 5y agoAfter following the compiler suggestions (several times more): ==== make dmd -c -O -inline -release -ofwarp.o cmdline.d constexpr.d context.d directive.d expanded.d file.d id.d lexer.d loc.d macros.d main.d number.d outdeps.d ranges.d skip.d sources.d stringlit.d textbuf.d charclass.d util.d(20): Error: function `loc.Loc.write(File* f)` is not callable using argument types `(File function() nothrow @nogc @property ref @system)` util.d(20): cannot pass argument `& makeGlobal` of type `File function() nothrow @nogc @property ref @system` to parameter `File* f` directive.d(470): Error: template instance `util.err_warning!(string, string)` error instantiating context.d(264): instantiated from here: `parseDirective!(Lexer!(Context!(LockingTextWriter)))` main.d(39): instantiated from here: `Context!(LockingTextWriter)` Makefile:44: recipe for target 'warp.o' failed make: * [warp.o] Error 1 ====
- WalterBright 5y agoPut () after the stderr and it'll compile.
- crazypython 5y agoLess than 30 line changes to get it to compile with latest DMD. https://github.com/DigitalMars/dmpp/commit/a9b879983130cf3a39f8b46c6b8bbfb572eaf1ee https://github.com/DigitalMars/dmpp/commit/a9b879983130cf3a3... Small price to pay for an elegant language.