You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Liviu Nicoara (JIRA)" <ji...@apache.org> on 2006/02/06 23:58:57 UTC

[jira] Created: (STDCXX-136) uninitialized driver emits wrong error message

uninitialized driver emits wrong error message
----------------------------------------------

         Key: STDCXX-136
         URL: http://issues.apache.org/jira/browse/STDCXX-136
     Project: C++ Standard Library
        Type: Bug
  Components: Tests  
    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
    Priority: Trivial


The following test case:

$ cat > t.cpp << EOF

include <driver.h>

int main ()
{
    rw_assert (0, 0, 0, "");
    return 0;
}

EOF

yields the following error message:

$ ./t
/build/nicoara/stdcxx/tests/src/driver.cpp:1164: rw_assert(): test
driver already initialized
Aborted


The message should indicate the driver has not been initialized. I marked it trivial because perforce sources do not exhibit the problem. Martin suggested he problem could be in the "brittle compatibility layer" necessary in this period of transition to enable testing in both infrastructures.

Liviu

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira