gcc -x c -

Jorge Almeida <[email protected]> Sun, 27 Sep 2015 16:16:13 -0700
Newsgroups gmane.linux.lib.dietlibc
Message-ID <CAKpSnpJbwu2L1hoSS5Y_higt5eAZuUTs3nM5cN6FpjwD9tbDZw@mail.gmail.com>
It seems diet fails when reading from stdin:

$ cat test.c |/opt/bin/diet gcc -x c -
/extra/dietlibc/cvs/bin-i386/dietlibc.a:1:1: error: expected
identifier or =E2=80=98(=E2=80=99 before =E2=80=98!=E2=80=99 token
 !<arch>
 ^
/extra/dietlibc/cvs/bin-i386/dietlibc.a:2:1: error: stray =E2=80=98`=E2=80=
=99 in program
 /               1443394625  0     0     0       16538     `
 ^

cc1: out of memory allocating 1677721600 bytes after a total of 561152 byte=
s

Same program compiles fine when reading test.c

diet is cvs version Mon Sep 28 00:15:07 WEST 2015


Jorge Almeida