Re: How to use -isystem instead of -I to include directories of third-party projects in scons?
Lan Yang <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CALxRPyucY25gU7vWnTW7qZsTfFBywhEjtXsFSWYbd0n3NKuoUA@mail.gmail.com> |
On Wed, Nov 30, 2022 at 3:57 PM Mats Wichmann <[email protected]> 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. * _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users