[Scons-users] How to use -isystem instead of -I to include directories of third-party projects in scons?

Lan Yang lanyang at autox.ai
Wed Nov 30 04:21:27 EST 2022


On Wed, Nov 30, 2022 at 3:57 PM Mats Wichmann <mats at wichmann.us> wrote:

> Your approach is a valid one, but SCons does not, unfortunately support
> -isystem fully (issue #3064 exists to record this). You can add it directly
> to CCFLAGS and it should be emitted to gcc; and the MergeFlags method knows
> how to do this also, but - unlike for values in CPPPATH - SCons won't look
> in that directory for internal dependency calculation.
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>


Hi Mats,

Thank you for your email.

The scons does not support -isystem fully according to issue #3064.
https://github.com/SCons/scons/issues/3064

"You can add it directly to CCFLAGS and it should be emitted to gcc; and
the MergeFlags method knows how to do this also, but - unlike for values in
CPPPATH - SCons won't look in that directory for internal dependency
calculation."
This part confused me. I think it is because I lack some knowledge.

Are there any steps I can take to avoid the warnings in third-party's code?

Best regards,
Lan

-- 




*CONFIDENTIALITY NOTICE: The contents of this email and any attachments 
are intended solely for the addressee(s) and contain confidential and/or 
privileged information and are legally protected from disclosure unless 
otherwise indicated. If you received this message by mistake, please 
immediately alert the sender by reply email and then delete this message 
and any attachments. If you are not the intended recipient, you are hereby 
notified that any use, dissemination, copying, or storage of this message 
or its attachments is strictly prohibited.  *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20221130/caefdc97/attachment-0001.htm>


More information about the Scons-users mailing list