After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163325 - glibmm needs additional g_option-wrapping (G_OPTION_ARG_NONE)
glibmm needs additional g_option-wrapping (G_OPTION_ARG_NONE)
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: object
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2005-01-08 12:45 UTC by Daniel Holbach
Modified: 2005-01-19 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Holbach 2005-01-08 12:45:08 UTC
Hi,

G_OPTION_ARG_NONE isn't wrapped, so flags like  --be-really-quiet   (no argument
at all) can't be parsed. (Workaround for now is, to have an integer argument,
which has to be checked to be > 0 or something)

I guess it needs to be fixed in glibmm/glib/src/optionentry.hg right after
OptionEntry& operator=(const OptionEntry& src); but how, I do not know.

Bye,
 Daniel
Comment 1 Murray Cumming 2005-01-19 13:18:08 UTC
I fixed this a while ago.