You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/06/03 18:18:15 UTC

[jira] Closed: (STDCXX-135) inadvertent formatting error from empty formatting string

     [ https://issues.apache.org/jira/browse/STDCXX-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-135.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2

Fixed in the course of maintenance. Exercised in the referenced change to tests/self/0.printf.cpp

> inadvertent formatting error from empty formatting string
> ---------------------------------------------------------
>
>                 Key: STDCXX-135
>                 URL: https://issues.apache.org/jira/browse/STDCXX-135
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.1.3
>         Environment: $ uname -a
> Linux skynet 2.6.14.5 #3 SMP PREEMPT Mon Jan 9 13:59:21 MST 2006 i686 unknown unknown GNU/Linux
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
> Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
> Thread model: posix
> gcc version 3.3.4
>            Reporter: Liviu Nicoara
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2
>
>
> (Need monospace font to see properly)
> 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% |
> # +-----------------------+--------+--------+--------+

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.