aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2016-02-01 00:54:22 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2016-02-01 00:54:22 +0000
commitf67cb8fe7b6a6ddc791794d18f63802e798ce808 (patch)
treeee5a72c0493dd0bcfc713d80e5d133e5bc5a4cdd /fixincludes/inclhack.def
parent61083a4ba7bab1e24926a0591e85f7d988992392 (diff)
downloadgcc-f67cb8fe7b6a6ddc791794d18f63802e798ce808.zip
gcc-f67cb8fe7b6a6ddc791794d18f63802e798ce808.tar.gz
gcc-f67cb8fe7b6a6ddc791794d18f63802e798ce808.tar.bz2
re PR target/68741 (FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test for excess errors))
PR target/68741 * inclhack.def (hpux_vsscanf): New fix. * fixincl.x: Regenerated. * tests/base/stdio.h [HPUX_VSSCANF_CHECK]: New test. From-SVN: r233029
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def14
1 files changed, 14 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index fc72add..8b6d1fe 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -2273,6 +2273,20 @@ fix = {
};
/*
+ * Fix missing const in hpux vsscanf declaration
+ */
+fix = {
+ hackname = hpux_vsscanf;
+ mach = "*-*-hpux*";
+ files = stdio.h;
+ select = '(extern int vsscanf\()char';
+ c_fix = format;
+ c_fix_arg = "%1const char";
+
+ test_text = 'extern int vsscanf(char *, const char *, __va_list);';
+};
+
+/*
* get rid of bogus inline definitions in HP-UX 8.0
*/
fix = {