
22 Mar
2004
22 Mar
'04
9:05 a.m.
template<> void validator<string>::operator()(any& v, const vector<string>& xs) { .... }
Could you take a look if your 'build/Jamfile' mention that file? Yes, it mention it. Linker message:
..\..\..\bin\boost\libs\program_options\example\custom_syntax.exe\mingw\debu g\custom_syntax.obj(.text$_ZNK5boost15program_options11typed_valueISsE5parse ERNS_3anyERKSt6vectorISsSaISsEE+0x14): In function `Z7reg_fooRKSs': D:/sources/boost/libs/program_options/example/../../../libs/program_options/ example/custom_syntax.cpp:22: undefined reference to `boost::program_options::validator<std::string>::operator()(boost::any&, std::vector<std::string, std::allocator<std::string> > const&)' I'm using mingw with gcc v 3.2.3 Janusz