> 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
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:
> &
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
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
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
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
- 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
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
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
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
___
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
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
- 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
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
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
>
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
>>
"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
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
"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
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'
- 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
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
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
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
24 matches
Mail list logo