RPM Community Forums

Mailing List Message of <popt-devel>

Exception handling for POPT 2.0?

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 14 Jun 2010 - 18:55:26 CEST
Message-id: <1D92020D-ACA8-49DE-8CF4-502B68BC5862@mac.com>
Please note that I've never used _ANY_ exception
in my entire professional life.

However C is a dying language, and most modern
languages like C++ and Java and ... handle error's on exception
paths rather than returning error's.

I'd like to see some reasonable exception handling so
that POPT bindings become "drop-in" for C++/Java/... or
anything else that SWIG wraps. I've looked multiple times
at what needs doing for reasonable POPT bindings and always
resorted to a barf bag instead.

Anyone want to design an exception handling framework for POPT?

73 de Jeff
Received on Mon Jun 14 18:55:54 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.