Boost logo

Boost Users :

Subject: Re: [Boost-users] Please help with rebuild on Windows
From: John Dlugosz (JDlugosz_at_[hidden])
Date: 2010-05-12 14:46:12


> Your email is nothing but blackness, if you are going to specify a
> foreground color, then make certain to specify a background color,
> since some people (like me) have a black background by default, and

I have no idea what you are talking about. I sent "plain text", not a formatted or rich message in any manner whatsoever.

> your background is set to transparent, and you have black foreground
> text, black text on black background makes for it all invisible. It
> is best to send in pure text mode regardless,

I always do. Outlook must have gotten confused when I pasted material in that was on the clipboard from the debugger. I'm sorry about that.

>
> That is because your boost is rather old, 1.38, the bootstrap and such
> was added later on (1.40 I think?), you should update, and be sure to
> rebuild with the proper define set as you did above.

Since Boost is being used by other projects in the suite, I don't want to "change" anything or mess up their builds. I'm wondering how it manages to work for anyone, though, at this point.

>
> If it made no difference, it might be one of the other options that do
> similar breakage like _HAS_ITERATOR_DEBUGGING. You can test it by
> debugging into your project and seeing the generated assembly.

Looking at my project, the #define's are:

WIN32;_DEBUG;_CONSOLE;_HAS_ITERATOR_DEBUGGING=0;NO_DLL_INTERFACE

that last one turns off the __declspec(import/export) attributes in some of the source files I'm compiling, and should not affect anything else. The others are normal Windows stuff.


> Hmm, do you have a complete compilable example demonstrating this
> problem? I will not be able to test it (for a week or so), but others
> can.


It's straight from the example.

int main (int argc, char* argv[])
 {
 cout << "running." << endl;
 namespace po = boost::program_options;
 po::options_description desc("Allowed options");
 desc.add_options()
            ("help", "produce help message")
            ("COM", po::value<bool>(), "test COM implementation")
            ;
 po::variables_map vm;
//////////// crashes in that constructor








TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.


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