Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2003-05-30 08:07:54


Hi,

I have probably encountered a bug in the library. I'm not able to put
a bool option in the config file. Regardles how I specify the option there,
parsing always fails with the exception:

        "config file options should have required parameter"

Defintion of the option:

( "debug.log-debug",
   po::parameter<int>( "yes/no", &m_bDebugLog ),
   "enable debug logging" );

Config file:

[debug]
log-debug = yes

Any hints?

Thanks,
Pavol


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk