stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liviu Nicoara <nico...@roguewave.com>
Subject formatting error
Date Mon, 06 Feb 2006 21:05:22 GMT
The following test case:

$ cat > t.cpp << EOF

#include <driver.h>

int run_test (int, char**)
{
    rw_assert (0, 0, 0, "");
    return 0;
}

int main ()
{
    return rw_test (0, 0, __FILE__, "", 0, run_test, 0);
}

EOF

yields:

$ ./t
# INFO (S1) (8 lines):
# TEXT:
# COMPILER: gcc 3.3.4, __VERSION__ = "3.3.4"
# ENVIRONMENT: i386 running linux-elf 2.4.29 with glibc 2.3
# FILE: t.cpp
# COMPILED: Feb  6 2006, 13:45:04
# COMMENT:
######################################################

# ASSERTION (S7) (2 lines):
# TEXT: *** formatting error ***

# +-----------------------+--------+--------+--------+
# | DIAGNOSTIC            | ACTIVE |  TOTAL |INACTIVE|
# +-----------------------+--------+--------+--------+
# | (S1) INFO             |      1 |      1 |     0% |
# | (S7) ASSERTION        |      1 |      1 |     0% |
# +-----------------------+--------+--------+--------+


Is the "formatting error" message correct and/or intended? I would
expect the empty formatting string to be accepted.

Liviu


Mime
View raw message