Bug#1112127: cproto: fails to forward -D arguments to the preprocessor

2025-09-02 Thread Thomas Dickey
On Mon, Sep 01, 2025 at 03:55:55PM -0400, Thomas Dickey wrote: > On Tue, Aug 26, 2025 at 07:21:02PM +0200, наб wrote: > > Package: cproto > > Version: 4.7x-1 > > Severity: normal > > Tags: upstream > > > > Dear Maintainer, > > > > cproto -E '/bin/cpp' -D'ARGS_DECL(...)=__VA_ARGS__' -{P,F,C}"int

Bug#1112127: cproto: fails to forward -D arguments to the preprocessor

2025-09-01 Thread Thomas Dickey
On Tue, Aug 26, 2025 at 07:21:02PM +0200, наб wrote: > Package: cproto > Version: 4.7x-1 > Severity: normal > Tags: upstream > > 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 > an

Bug#1112127: cproto: fails to forward -D arguments to the preprocessor

2025-08-26 Thread наб
Package: cproto Version: 4.7x-1 Severity: normal Tags: upstream 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