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_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,
-- System Information:
Debian Release: 12.11
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-35-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cproto depends on:
ii gcc 4:12.2.0-3
ii libc6 2.36-9+deb12u10
cproto recommends no packages.
cproto suggests no packages.
-- no debconf information
signature.asc
Description: PGP signature

