[Scons-users] Scons Implicity Dependency not found issue
Bill Deegan
bill at baddogconsulting.com
Tue Oct 16 08:51:18 EDT 2018
Yes. Headers are scanned recursively.
Implicit cache should only be enable by command line flag or SetOption()
Where is io.h located? is it in your CPPPATH?
On Tue, Oct 16, 2018 at 6:43 AM Hua Yanghao <huayanghao at gmail.com> wrote:
> By the way, is scons scanner scans C file headers recursively? Thanks.
> On Tue, Oct 16, 2018 at 12:40 PM Hua Yanghao <huayanghao at gmail.com> wrote:
> >
> > scons: *** [build/configs/pangu/usw/firmware/arch/pangu/test.os]
> > Implicit dependency
> > `build/configs/pangu/usw/firmware/arch/pangu/include/io.h' not found,
> > needed by target `build/configs/pangu/usw/firmware/arch/pangu/test.os'
> >
> > I recently run into this odd problem, and it is very difficult to
> > reproduce. I did not explicitly enable the "implicit_cache" option
> > anywhere in my code. If I simply remove the build folder and then
> > re-build everything works as normal. the problem happens when there is
> > a old build, and then I pulled in some new code where this "test.c"
> > has included an additional header io.h and scons seems not re-scanning
> > the file by default.
> >
> > I am using scons 3.0.1, is the implict_cache by default enabled there
> > and I have to disable it manually?
> >
> > Thanks,
> > Yanghao Hua
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20181016/1ded1803/attachment.html>
More information about the Scons-users
mailing list