Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-11-22 14:26:49


/home/jody/boost_1_32_0/libs/program_options/src/cmdline.cpp: In member
   function `void
boost::program_options::detail::cmdline::clear_error()':
/home/jody/boost_1_32_0/libs/program_options/src/cmdline.cpp:732:
warning: `
   boost::program_options::invalid_command_line_syntax::kind_t re' might
be
   used uninitialized in this function

In this case, the enumeration "re" of type kind_t is not initialized,
and will hold "any" value. The switch does not set the value in the
default section, and then an exception is thrown with the uninitialized
"re" variable.


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