[Scons-users] Is there a way to turn this warning message off?

William Blevins wblevins001 at gmail.com
Sun Jul 27 11:13:57 EDT 2014


Can you give a link to the design notes?

V/R,
William


On Sun, Jul 27, 2014 at 6:43 AM, Gary Oberbrunner <garyo at oberbrunner.com>
wrote:

> I agree with everyone here.  I'm trying to design a new Tool/Toolchain
> infrastructure which will allow improved tool detection and use, and enable
> us to fix the bogus warnings in MSVC as well as lots of other stuff.  Feel
> free to discuss ideas and options on the dev list.
>
>
> On Sat, Jul 26, 2014 at 8:05 PM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> I got mixed opinions earlier, but if DefaultEnvironment( tools = [ ] )
>> resolves the issue, then it matters less.  If this doesn't work, I think
>> this goes back to consistency.
>>
>> V/R,
>> William
>>
>>
>> On Sat, Jul 26, 2014 at 5:37 PM, Mark A. Flacy <mflacy at verizon.net>
>> wrote:
>>
>>> On Saturday, July 26, 2014 11:05:16 PM Dirk Bächle wrote:
>>> > On 26.07.2014 22:52, William Blevins wrote:
>>> > > As Mark has already stated, this is a consistency problem.  Why do
>>> the
>>> > > C/C++ tools complain by default when none of the other tools do?
>>> >
>>> > Because the author(s) of the Tool chose to do so...and, in my opinion,
>>> > they should be free to follow either way.
>>>
>>> So much for consistent behavior across platforms.
>>>
>>> >
>>> > > It would be reasonable to give a warning if the build called the
>>> C/C++
>>> > > scanner for example, but in the case above, it sounds like the tool
>>> is
>>> > > never used.
>>> >
>>> > A Tool doesn't get used, it sets up and changes the
>>> Environment...mainly
>>> > by adding Builders or tweaking environment variables. At the time a
>>> Tool
>>> > gets initialized, it's not possible to decide whether a provided
>>> Builder
>>> > will get used or not.
>>> >
>>> > >  It is not reasonable for the warning just because SCons in running
>>> on
>>> > >
>>> > > Windows and SCons happens to support C/C++.
>>> > >
>>> > > I have a usage question. Does the warning still appear in you set the
>>> > > DefaultEnvironment( tools = [] )?
>>> >
>>> > The warning appears whenever you try to initialize the "msvs" Tool
>>> under
>>> > Windows, without having a corresponding compiler installed. Setting
>>> > "tools=[]" for all your environments would prevent this...
>>>
>>> Or not sucking in all the tools by default would do the same.
>>>
>>> --
>>> Mark A. Flacy
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> http://four.pairlist.net/mailman/listinfo/scons-users
>>>
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> http://four.pairlist.net/mailman/listinfo/scons-users
>>
>>
>
>
> --
> Gary
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140727/3cacea11/attachment.html>


More information about the Scons-users mailing list