Re: [boost] VC7/Threads Warnings

2003-06-12 Thread John Maddock
> This discussion was a long time ago, but I didn't get the end of it. > As building the thread library I get a lot of warnings I would like > to remove them somehow (I'm using the 1.30 release version). > > So, what would you suggest? Using pragma's is safe enough? > If yes, where is the best plac

Re: [boost] VC7/Threads Warnings

2003-06-11 Thread vc
the best place to add this ? Thanks, Viv - Original Message - From: "William E. Kempf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 1:10 AM Subject: Re: [boost] VC7/Threads Warnings > > David Abrahams said: > &

RE: [boost] VC7/Threads Warnings /Wp64 flag (detect 64-bitportability)

2003-03-27 Thread Paul A. Bristow
ite RTFM, I cannot see how to change the IDE _default_ solution/project settings. Suggestions? Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK +44 1539 561830 Mobile +44 7714 33 02 04 Mobile mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] > -Original Message- > From: [E

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread William E. Kempf
vc said: > > - Original Message - > From: "William E. Kempf" <[EMAIL PROTECTED]> >> > Doing so, the boost.thread will be build with the /MTd flag (for >> debug). This is exactly >> > what you said that it won't be a good idea, right? Or am I missing >> something here? >> >> Sorry, I guess

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread William E. Kempf
Peter Dimov said: > William E. Kempf wrote: >> Peter Dimov said: >>> >>> I agree with the suggestion. The default should be /W3 for VC 6, and >>> /W4 (possibly with some specific warnings disabled) on VC 7+. >> >> Why /W4 for VC 7+? The IDE's default is still /W3 on these >> compilers. I don't t

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread Peter Dimov
William E. Kempf wrote: > Peter Dimov said: >> >> I agree with the suggestion. The default should be /W3 for VC 6, and >> /W4 (possibly with some specific warnings disabled) on VC 7+. > > Why /W4 for VC 7+? The IDE's default is still /W3 on these > compilers. I don't think selecting a level diffe

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread vc
- Original Message - From: "William E. Kempf" <[EMAIL PROTECTED]> > > Doing so, the boost.thread will be build with the /MTd flag (for debug). > > This is exactly > > what you said that it won't be a good idea, right? Or am I missing > > something here? > > Sorry, I guess I wasn't very cle

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread William E. Kempf
Peter Dimov said: > William E. Kempf wrote: >> >> I guess I'm wondering if the official toolsets shouldn't be changed. I >> don't understand why the MSDN indicates it should default to /W2 while >> we're seeing it default to what I assume is /W1. But, projects >> created by the IDE default to /W3

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread William E. Kempf
vc said: > > - Original Message - > From: "William E. Kempf" <[EMAIL PROTECTED]> > > >> >> vc said: >> >> As for the warnings themselves... I'm still doing more research >> just to be 100% sure, but everything I've found thus far indicates >> you can ignore these warnings as long as you li

RE: [boost] VC7/Threads Warnings

2003-03-26 Thread William E. Kempf
Paul A. Bristow said: > I was surprised to find that /Wp64 flag (detect 64-bit portability) > > means that std::size_t is 64 bit. This leds to a number of oddities > that confused me. Is this perhaps causing your problem? AFAIK and AFAICT, /Wp64 is not used. -- William E. Kempf ___

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread Peter Dimov
William E. Kempf wrote: > > I guess I'm wondering if the official toolsets shouldn't be changed. > I don't understand why the MSDN indicates it should default to /W2 > while we're seeing it default to what I assume is /W1. But, projects > created by the IDE default to /W3 (which is also the level

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread Peter Dimov
Paul A. Bristow wrote: > I was surprised to find that /Wp64 flag (detect 64-bit portability) > means that std::size_t is 64 bit. This leds to a number of oddities > that confused me. Is this perhaps causing your problem? std::size_t is still 32 bit, /Wp64 generates warnings if the meaning of th

Re: [boost] VC7/Threads Warnings

2003-03-26 Thread vc
- Original Message - From: "William E. Kempf" <[EMAIL PROTECTED]> > > vc said: > >> As for the warnings themselves... I'm still doing more research just > >> to be 100% sure, but everything I've found thus far indicates you can > >> ignore these warnings as long as you link against the s

RE: [boost] VC7/Threads Warnings

2003-03-25 Thread Andrew J. P. Maclean
EMAIL PROTECTED] Subject: Re: [boost] VC7/Threads Warnings vc said: > As I am having the same problem, I looked a little to the bjam settings, > and it seems that, at least when building with VC7.x, the -Wx (warning > level) option is > not set, that is why probably with bjam these

RE: [boost] VC7/Threads Warnings

2003-03-25 Thread Paul A. Bristow
02 04 Mobile mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of vc > Sent: Tuesday, March 25, 2003 5:20 PM > To: Boost mailing list > Subject: Re: [boost] VC7/Threads Warnings >

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread William E. Kempf
David Abrahams said: > "William E. Kempf" <[EMAIL PROTECTED]> writes: > >> David Abrahams said: >>> "William E. Kempf" <[EMAIL PROTECTED]> writes: >>> Hmm... this surprised me. Mr. Maclean indicated the warnings were level 1 _and_ 2. Builds with bjam do report errors, so the warning >>

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread David Abrahams
"William E. Kempf" <[EMAIL PROTECTED]> writes: > David Abrahams said: >> "William E. Kempf" <[EMAIL PROTECTED]> writes: >> >>> Hmm... this surprised me. Mr. Maclean indicated the warnings were >>> level 1 _and_ 2. Builds with bjam do report errors, so the warning >>> level can't be 0. MSDN indi

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread William E. Kempf
David Abrahams said: > "William E. Kempf" <[EMAIL PROTECTED]> writes: > >> Hmm... this surprised me. Mr. Maclean indicated the warnings were >> level 1 _and_ 2. Builds with bjam do report errors, so the warning >> level can't be 0. MSDN indicates "Level 2 is the default warning >> level at the

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread David Abrahams
"William E. Kempf" <[EMAIL PROTECTED]> writes: > Hmm... this surprised me. Mr. Maclean indicated the warnings were level 1 > _and_ 2. Builds with bjam do report errors, so the warning level can't be > 0. MSDN indicates "Level 2 is the default warning level at the command > line." So I assumed

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread William E. Kempf
vc said: >> As for the warnings themselves... I'm still doing more research just >> to be 100% sure, but everything I've found thus far indicates you can >> ignore these warnings as long as you link against the same RTL in both >> the Boost.Threads DLL and the application. After I verify this, I'

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread vc
- Original Message - From: "William E. Kempf" <[EMAIL PROTECTED]> > > vc said: > > As I am having the same problem, I looked a little to the bjam settings, > > and it seems that, at least when building with VC7.x, the -Wx (warning > > level) option is > > not set, that is why probably wi

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread William E. Kempf
vc said: > As I am having the same problem, I looked a little to the bjam settings, > and it seems that, at least when building with VC7.x, the -Wx (warning > level) option is > not set, that is why probably with bjam these warnings are not seen ... Hmm... this surprised me. Mr. Maclean indicate

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread vc
Kempf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 3:39 PM Subject: Re: [boost] VC7/Threads Warnings > > Andrew J. P. Maclean said: > > I am using Boost Ver 1.30 just released. I built the libraries with > > BJam. Now when building

Re: [boost] VC7/Threads Warnings

2003-03-25 Thread William E. Kempf
Andrew J. P. Maclean said: > I am using Boost Ver 1.30 just released. I built the libraries with > BJam. Now when building my code I get lots of warnings like the > following. These warnings worry me a bit because they are level 1 and 2 > warnings. Is it "safe" to ignore these or do I need to manu