[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mzc string problemt
Hi,
This problem is fixed for v200 (as of 199.10 or so). mzc now produces C
code of the form:
static const char STRING_1[12] = {
104, 101, 108, 108, 111, 10, 119, 111, 114, 108, 100, 0 };
... STRING_1 ...
instead of
... "hello
world" ...
Matthew
----------------------------------------
Quoting "Immanuel Litzroth":
> mzc generated the following c code for me (it is the argument of a format
> string.
> I think this is not legal ansi C. I noticed because I am stuck on a machine
> with doesn't have gcc (which probably accepts this but I cannot test it).
>
> PLS->const1649 = scheme_make_immutable_sized_string("
> Filename: ~a
> record-num: ~a
> bronid: ~a
> bronkey: ~a
> extentie: ~a
> pid: ~a
> mutatiecode: ~a
> stamp: ~a
> mutatietype: ~a
> waarde: ~a
> ", 161, 0);
> Immanuel
- References:
- No Subject
- From: "Immanuel Litzroth" <immanuel_litzroth@hotmail.com>