> Date: Wed, 05 Mar 2014 13:13:43 +0800
> From: z_axis <[email protected]>
> To: [email protected]
> Subject: [Tinycc-devel] please ignore execvl issure ...
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
>
>
> execvp("xinit", (char *[]){"xinit", "clisp", NULL});
>
>From my memory of a post from a few days ago, you probably want
something like this instead:
execvp( "xinit", (char **)({ const char *argument[] = { "xinit",
"clisp", NULL }; argument; }) );
Now, I've never used this extension, so I could be wrong, but I'm
mostly certain of this. Particularly the ({ }) bit: the enclosing
parentheses are liable to be absolutely required, the absence of them
is presumably where the error is coming from.
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel