Package: gcc Version: 4:10.2.1-1 Severity: normal X-Debbugs-Cc: r...@scotsgeek.com
Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? #include <stdio.h> int main(void) { popen("ls -la", "r"); return 0; } -std=c89, c90, compiles cleanly -std=c99, c11, c18 compiles but reports: * What exactly did you do (or not do) that was effective (or ineffective)? change of -std option causes or prevents this warning * What was the outcome of this action? * What outcome did you expect instead? No warning should be reported with any -std option. declaration found in stdio.h, and function linked *** End of the template - remove these template lines *** -- System Information: Debian Release: 11.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gcc depends on: ii cpp 4:10.2.1-1 ii gcc-10 10.2.1-6 Versions of packages gcc recommends: ii libc6-dev [libc-dev] 2.31-12 Versions of packages gcc suggests: pn autoconf <none> pn automake <none> pn bison <none> pn flex <none> pn gcc-doc <none> pn gcc-multilib <none> ii gdb-minimal [gdb] 10.1-1.7 pn libtool <none> ii make 4.3-4.1 ii manpages-dev 5.10-1 -- no debconf information