incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: formatting error
Date Mon, 06 Feb 2006 21:26:16 GMT
Liviu Nicoara wrote:
> 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.

It's a bug that I've known about but haven't yet found the time
to fix. Unless you're itching to do it yourself it would be good
to have an issue for it as a reminder. If you could open one it'd
be great! :)

Martin

Mime
View raw message