December 21, 2023 [Issue 24291] New: ImportC: cannot compile janet.c | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24291 Issue ID: 24291 Summary: ImportC: cannot compile janet.c Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: mingwu@gmail.com https://github.com/janet-lang/janet/releases/download/v1.32.1/janet.c https://github.com/janet-lang/janet/releases/download/v1.32.1/janet.h https://github.com/janet-lang/janet/releases/download/v1.32.1/shell.c $ dmd --version DMD64 D Compiler v2.106.0-beta.1 Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved written by Walter Bright $ dmd -P-I. -c janet.c src/core/vm.c(342): Error: expression expected, not `&&` src/core/vm.c(342): Error: found `label_JOP_NOOP` when expecting `}` src/core/vm.c(343): Error: identifier or `(` expected src/core/vm.c(597): Error: `=`, `;` or `,` expected to end declaration instead of `}` src/core/vm.c(643): Error: identifier expected following `goto` src/core/vm.c(643): Error: found `*` when expecting `;` following `goto` statement src/core/vm.c(650): Error: identifier expected following `goto` src/core/vm.c(650): Error: found `*` when expecting `;` following `goto` statement src/core/vm.c(657): Error: identifier expected following `goto` src/core/vm.c(657): Error: found `*` when expecting `;` following `goto` statement src/core/vm.c(666): Error: identifier expected following `goto` src/core/vm.c(666): Error: found `*` when expecting `;` following `goto` statement src/core/vm.c(676): Error: identifier expected following `goto` src/core/vm.c(676): Error: found `*` when expecting `;` following `goto` statement src/core/vm.c(680): Error: identifier expected following `goto` src/core/vm.c(680): Error: found `*` when expecting `;` following `goto` statement src/core/vm.c(680): Error: identifier expected following `goto` src/core/vm.c(680): Error: found `*` when expecting `;` following `goto` statement src/core/vm.c(683): Error: identifier expected following `goto` src/core/vm.c(683): Error: found `*` when expecting `;` following `goto` statement $ dmd -P-I. -c shell.c shell.c(657): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(657): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(659): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(681): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(681): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(681): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(681): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(681): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(764): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(778): Error: undefined identifier `isnan`, did you mean function `nan`? shell.c(780): Error: undefined identifier `isnan`, did you mean function `nan`? -- |
Copyright © 1999-2021 by the D Language Foundation