summaryrefslogtreecommitdiffstats
path: root/SCons/cpp.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2023-10-17 15:12:15 (GMT)
committerMats Wichmann <mats@linux.com>2023-10-17 15:44:50 (GMT)
commite5086e3665965a3250b0ef8579c2107e68cf529b (patch)
treea0e28fd879b895327661785123a0e20819dc75f8 /SCons/cpp.py
parent807cac7a2e2892d07e6cf0b4f74fe11c1a1fd9b4 (diff)
downloadSCons-e5086e3665965a3250b0ef8579c2107e68cf529b.zip
SCons-e5086e3665965a3250b0ef8579c2107e68cf529b.tar.gz
SCons-e5086e3665965a3250b0ef8579c2107e68cf529b.tar.bz2
Elminate http: references
Most remaining http: references are either changed to https: or removed or changed in case they were also stale links, and a replacement was findable. Does not affect schema and stylesheet references, which can remain http: Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/cpp.py')
-rw-r--r--SCons/cpp.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/SCons/cpp.py b/SCons/cpp.py
index c9c9a70..97aba8c 100644
--- a/SCons/cpp.py
+++ b/SCons/cpp.py
@@ -561,8 +561,7 @@ class PreProcessor:
[('scons_current_file', self.current_file)]
self.tuples[:] = new_tuples + self.tuples
- # Date: Tue, 22 Nov 2005 20:26:09 -0500
- # From: Stefan Seefeld <seefeld@sympatico.ca>
+ # From: Stefan Seefeld <seefeld@sympatico.ca> (22 Nov 2005)
#
# By the way, #include_next is not the same as #include. The difference
# being that #include_next starts its search in the path following the
@@ -570,10 +569,12 @@ class PreProcessor:
# include paths are ['/foo', '/bar'], and you are looking at a header
# '/foo/baz.h', it might issue an '#include_next <baz.h>' which would
# correctly resolve to '/bar/baz.h' (if that exists), but *not* see
- # '/foo/baz.h' again. See http://www.delorie.com/gnu/docs/gcc/cpp_11.html
- # for more reasoning.
+ # '/foo/baz.h' again. See
+ # https://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html for more notes.
#
- # I have no idea in what context 'import' might be used.
+ # I have no idea in what context #import might be used.
+ # Update: possibly these notes?
+ # https://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/preprocessor/hash-import-directive-cpp.md
# XXX is #include_next really the same as #include ?
do_include_next = do_include