Package: g++-2.95
Version: 1:2.95.4-27
Severity: important

#include <iostream>
using namespace std;
int main(void) {
    int e = 7;  
    try {
        cerr << "throwing ...\n";
        throw e;
        }
    catch(int err) {
        cerr << "catching ...\n";
        }
    cerr << "everything went fine.\n";
    }

Compiling and running this sample shows,
that the int e thrown within the try block
will not be caught.


-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages g++-2.95 depends on:
ii  gcc-2.95                     1:2.95.4-27 The GNU C compiler
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libstdc++2.10-dev            1:2.95.4-27 The GNU stdc++ library (developmen

g++-2.95 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to