The following code: ---- void error(...){} ---- Causes dmd 2.054 to ICE with the following errors: ---- Log.d(1): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? Log.d(1): Error: function Log.error must import core.vararg to use variadic functions dmd: expression.c:4434: SymbolExp::SymbolExp(Loc, TOK, int, Declaration*, int): Assertion `var' failed. Aborted ---- On linux x86_64.
Note that if you add the import as suggested by the error, the ICE goes away.
Works on Windows 32 bit. I assume this is 64 bit only, where varargs are done differently.
Definitely a 64bit issue, works on OS X 32, not on OS X 64 (same assertion) using dmd 2.057.
https://github.com/D-Programming-Language/dmd/pull/655
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/28c551f3c3675f5b2ade26fe23f513f73085c4a2 Fix bug 6451 - [64bit] ICE(expression.c:4434): SymbolExp::SymbolExp(Loc, TOK, int, Declaration*, int): Assertion `var' failed. https://github.com/D-Programming-Language/dmd/commit/425a97c9e9fa20985ed8767109aacc61517c017e Merge pull request #655 from mrmonday/bug6451 Fix bug 6451
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3bfdbc8fbf58a12357469d1e81a9b224a1754bd8 fix issue 6451
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル