Summary
csc's -prelude and -postlude options don't work
Metadata
- Id: 88324ef8f01389f91495bb385a3a835aef4d5035
- Trac id: 1334
- Type: defect
- Reporter: sjamaan
- Owner:
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty: easy
- Resolution: duplicate
- Priority: major
- Milestone: 4.12.0
- Version: 4.11.0
- Changetime: 2016-10-14 16:46:02 UTC
- Created: 2016-10-14 16:43:27 UTC
- Keywords:
Description
$ csc -prelude '(void)' test.scm
sh: 1: Syntax error: "(" unexpected
Error: shell command terminated with non-zero exit status 512: '/usr/bin/chicken' 'test.scm' -output-file 'test.c' -prologue (main)
The contents of test.scm don't really matter. The same error happens in -postlude.
Changes and comments
[2016-10-14 16:46:02 UTC] sjamaan changed status from new to closed
[2016-10-14 16:46:02 UTC] sjamaan set resolution to duplicate
[2016-10-14 16:46:02 UTC] sjamaan wrote:
Never mind, this is just a duplicate of #961:
$ csc -prelude '"(print 1234)"' test.scm $ ./test 1234