This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: Unresolved Check Error


Hello again,
When we try to compile 26_numerics/c99_classification_macros_c.cc with the
following command:
/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/gcc/g++
-shared-libgcc
-B/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/gcc/
-nostdinc++
-L/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/libstdc++-v3/src
-L/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/mnt/u9/toolchain/buildsys/install/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/bin/
-B/mnt/u9/toolchain/buildsys/install/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/lib/
-isystem
/mnt/u9/toolchain/buildsys/install/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/include
-g -ffunction-sections -fdata-sections -fmessage-length=0 -DDEBUG_ASSERT
-DLOCALEDIR="/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/libstdc++-v3/po/share/locale"
-nostdinc++
-I/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/libstdc++-v3/include/alphaev56-unknown-linux-gnu
-I/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.0.4/native/gcc-3_1-branch/alphaev56-unknown-linux-gnu/libstdc++-v3/include
-I/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/libsupc++
-I/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/libio
-I/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/include/backward
-I/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc
-DDEBUG_ASSERT -S  -o c99_classification_macros_c.s

after we try to build this we get all these parse errors from the macros:
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:34:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:36:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:38:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:40:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:42:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:44:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:46:16:
macro "isgreater" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:46:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:48:21:
macro "isgreaterequal" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:48:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:50:13:
macro "isless" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:50:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:52:18:
macro "islessequal" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:52:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:54:20:
macro "islessgreater" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:54:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:56:18:
macro "isunordered" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:56:
syntax error before `{' token^M
compiler exited with status 1
output is:
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:34:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:36:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:38:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:40:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:42:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:44:
parse error before `sizeof'^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:46:16:
macro "isgreater" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:46:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:48:21:
macro "isgreaterequal" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:48:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:50:13:
macro "isless" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:50:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:52:18:
macro "islessequal" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:52:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:54:20:
macro "islessgreater" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:54:
syntax error before `{' token^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:56:18:
macro "isunordered" requires 2 arguments, but only 1 given^M
/mnt/u9/toolchain/buildsys/source/gcc-3_1-branch/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc:56:
syntax error before `{' token^M




Phil Edwards wrote:

> On Mon, Aug 26, 2002 at 02:36:56PM -0400, Mike Cleary wrote:
> > but I wasn't even responded to when I asked for help.
>
> Sorry, we've been a bit busy lately.
>
> > How do I test the individual macros?
>
> I'm assuming you're talking about
>
> > >>FAIL: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
> > >
> > >C library issue.  Interfacing with arbitrary C libraries is difficult.
>
> as opposed to some other kind of macro.  Probably the easiest low-tech
> solution is to edit
> (srcdir)/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc
> and comment out all calls but one.  Viewing the
> (builddir)/alphawhatever/libstdc++-v3/testsuite/libstdc++-v3.log file
> to check the exact error messages also usually helps.  (The testsuite
> harness sinks compiler output into that file, and only displays the "test
> for excess errors".)
>
> Phil
>
> --
> I would therefore like to posit that computing's central challenge, viz. "How
> not to make a mess of it," has /not/ been met.
>                                                  - Edsger Dijkstra, 1930-2002


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