Some systems (e.g. the Debian 3.0R0 that I use at work) choke on this
otherwise, saying that "exception & err" is a syntax error, while others
(e.g. the Red Hat 7.2 that I use at home) seem fine with it. I guess
that in the former case, the second catch() block is wrongly perceived
as falling outside the scope of the "using namespace ZOOM" directive.
-// $Id: zclient.cpp,v 1.5 2002-11-30 22:33:21 mike Exp $
+// $Id: zclient.cpp,v 1.6 2002-12-02 15:57:58 mike Exp $
// Simple sample client
err.errmsg() << " (" << err.addinfo() << ")\n";
return 2;
- } catch(exception& err) {
+ } catch(ZOOM::exception& err) {
cerr << argv[0] << ": exception " <<
err.errmsg() << "\n";
return 3;