This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
(fixinc) PATCH: Handle BSD4.4 <stdio.h> vs. attribute format checking
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: bkorb at gnu dot org
- Date: Fri, 4 Apr 2003 03:49:12 -0600 (CST)
- Subject: (fixinc) PATCH: Handle BSD4.4 <stdio.h> vs. attribute format checking
- References: <200206282154.g5SLsLdH060054@latour.rsch.comm.mot.com>
- Reply-to: rittle at labs dot mot dot com
Bi-yearly Ping: Permission from a fixinc maintainer to install on
mainline? http://gcc.gnu.org/ml/gcc-patches/2002-06/msg02246.html
[It is my fault that this one never got looked at since I didn't
e-mail Bruce directly.]
> * fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
> * fixinc/fixincl.x: Rebuilt.
> This patch fixes:
> FAIL: gcc.dg/format/c99-scanf-3.c vfscanf (test for warnings, line 21)
> FAIL: gcc.dg/format/c99-scanf-3.c vfscanf (test for warnings, line 21)
> FAIL: gcc.dg/format/ext-6.c vfscanf (test for warnings, line 42)
> FAIL: gcc.dg/format/ext-6.c vfscanf (test for warnings, line 42)
> on *-unknown-freebsd[34] and should also help other platforms using
> system headers derived from BSD4.4 sources.
> Tested on *-*-freebsd4.[678] via [many] full bootstrap/check cycle. No
> regressions. cc1 binary, as built, noted to now contain proper
> reference to ATTR_vfscanf instead of errant ATTR___svfscanf. This
> should also address recently reported similar issue with NetBSD (and
> testresults-only reported issue seen on OpenBSD; [and also seen on Darwin]