Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2003-04-03 09:57:00


> I get the warning "enumeration value `type_pf' not handled in switch",
> in several places in libs/regex/src/cregex.cpp. In all cases, the
> offending lines are protected by ifdefs:
>
> #ifndef BOOST_REGEX_NO_FILEITER
> case re_detail::RegExData::type_pf:
> return pdata->fm[i].matched;
> #endif
>
> It would appear that BOOST_REGEX_NO_FILEITER should be defined in the
> darwin environment, but isn't. This is the first time I've just Jam, so
> I'm at a loss to figure out why it's not set right, or how to fix it.

You mean that it probably should not be set on that platform,you can safely
ignor the warning but I'll try and suppress it anyway, thanks.

> More importantly, I get 6 failures. The bjam output contains the
> following for the first one:
>
> darwin-Link-DyLib-action
> libs/test/build/bin/libboost_prg_exec_monitor.dylib/darwin/debug/runtime-
> link-static/shared-linkable-true/libboost_pr\
> g_exec_monitor.dylib
> ld: Undefined symbols:
> cpp_main(int, char**)
>

as long as you don't want to use the test lib as a shared lib then you can
ignore those as well.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net