Dear Maintainer,
cproto -E '/bin/cpp' -D'ARGS_DECL(...)=__VA_ARGS__' -{P,F,C}"int f(a, b)" exec.c
/* exec.c */
sh: 1: Syntax error: "(" unexpected
and a strace reveals
3076044 execve("/bin/sh", ["sh", "-c", "/bin/cpp -DARGS_DECL(...)=__VA_A"...], 0x7fff30971dc0 /* 32 vars */ <unfinished ...>
this seems obviously wrong, considering that -D is described as
This option is passed through to the preprocessor
which it isn't in this case, it's inlined into the shell program.
Best,
actually it's what you get with popen. The updated manpage says it uses a pipe.
actually it's what you get with popen. The updated manpage says it uses a pipe.
The updated manpage also clarifies the known limitations of cproto's built-in support for preprocessor directives which prevent its being used for general-purpose transformation of source code. This bug can be either closed (wontfix) or changed to a wishlist item. In either case, it's unlikely that someone's going to write a full-fledged C preprocessor which can be used in this application.
The updated manpage also clarifies the known limitations of cproto's built-in support for preprocessor directives which prevent its being used for general-purpose transformation of source code. This bug can be either closed (wontfix) or changed to a wishlist item. In either case, it's unlikely that someone's going to write a full-fledged C preprocessor which can be used in this application.
Version: 4.7y-1 I've reviewed the 4.7y-1 manual, and I think if I had it while doing the tgif conversion I would not have felt the need to have opened the bugs, which is equivalent to being fixed. Thus, closing; thanks. Nor do I think this would be a good use of anyone's time, frankly. Best,