Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem using Boost regex
From: John Emmas (johne53_at_[hidden])
Date: 2009-12-07 13:28:09

----- Original Message -----
From: "John Maddock"
> So my best guess at present is that this is a VC++ installation issue...
> does building and running a "hello world" app in debug mode work?
> Apologies if this is a stupid suggestion... John.
The short answer is "yes", John. If I comment out the line that ends up
needing regex - i.e.

// bool bb = validate_card_format("1111 2222 3333 4444");

then the app builds and runs fine in either mode. In fact I've been working
on this app for around 7 weeks and it only went wrong after I added those
(fairly minor) regex additions.

Having said that, this isn't a simple Windows app because I'm using
gtk-win32 (rather than MFC) to provide the GUI. It's getting a bit late
here (UK time) and I'm a bit too tired to keep working but first thng
tomorrow, I'll build a very simple console app and see if I get the same
problem. Thanks for your suggestions.

In the meantime (just out of curiosity) what is the significance of the
letter "g" in:-


I would have guessed at the equivalent Debug lib being called:-




BTW - No.... BOOST_REGEX_DYN_LINK isn't defined and if I "hide" the DLLs,
the Release build still runs okay - so it must be linking statically.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at