This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/68741] New: FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test for excess errors)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68741

            Bug ID: 68741
           Summary: FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test
                    for excess errors)
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

Executing on host: /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc
-B/test/gnu/gc
c/objdir/./gcc -nostdinc++
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-
v3/src -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gnu64/gc
c/gcc-6/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/lib/
 -isystem /opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/g
cc/gcc-6/hppa64-hp-hpux11.11/sys-include
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11
.11/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0
-ffunction-sections -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc
   -include bits/stdc++.h -fno-diagnostics-show-caret -fdiagnostics-color=never
-S  -o functions.s    (timeout = 600)spawn /test/gnu/gcc/objdir/./gcc/xg++
-shared-libgcc -B/test/gnu/gcc/objdir/./gcc -nostdinc++
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/sys-include
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc
++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections
-fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc
-include bits/stdc++.h -fno-diagnostics-show-caret -fdiagnostics-color=never -S
-o functions.s
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc:
In function 'void test01(int, ...)':
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc:48:41:
error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
In file included from /usr/include/locale.h:136:0,
                 from
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/clocale:42,
                 from
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:40:
/test/gnu/gcc/objdir/gcc/include-fixed/stdio.h:611:17: note:   initializing
argument 1 of 'int vsscanf(char*, const char*, __gnuc_va_list)'
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc:
In function 'void test01(int, ...)':
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc:48:41:
error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
In file included from /usr/include/locale.h:136:0,
                 from
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/clocale:42,
                 from
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:40:
/test/gnu/gcc/objdir/gcc/include-fixed/stdio.h:611:17: note:   initializing
argument 1 of 'int vsscanf(char*, const char*, __gnuc_va_list)'

FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc:48:41:
error: invalid conversion from 'const char*' to 'char*' [-fpermissive]

extra_tool_flags are:
  -include bits/stdc++.h

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]