Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
4ed9f212
Commit
4ed9f212
authored
Mar 02, 1999
by
Nick Clifton
Committed by
Nick Clifton
Mar 02, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ability to display omitted search directories.
From-SVN: r25539
parent
4c112cda
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
gcc/ChangeLog
+7
-0
gcc/cccp.c
+11
-0
No files found.
gcc/ChangeLog
View file @
4ed9f212
Tue
Mar
2
10
:
39
:
43
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
cccp
.
c
(
struct
default_include
)
:
Add
'
included
'
field
.
(
main
)
:
Set
'
included
'
field
when
a
default
include
directory
is
added
to
the
chain
.
If
-
v
is
specified
list
all
default
include
directories
which
do
not
get
appended
to
the
chain
.
Tue
Mar
2
09
:
24
:
10
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
configure
.
in
(
gxx_include_dir
)
:
Rename
to
...
...
gcc/cccp.c
View file @
4ed9f212
...
...
@@ -377,6 +377,7 @@ static struct default_include {
int
cxx_aware
;
/* Includes in this directory don't need to
be wrapped in extern "C" when compiling
C++. */
int
included
;
/* Set if the directory is acceptable. */
}
include_defaults_array
[]
#ifdef INCLUDE_DEFAULTS
=
INCLUDE_DEFAULTS
;
...
...
@@ -2018,6 +2019,7 @@ main (argc, argv)
append_include_chain
(
new
,
new
);
if
(
first_system_include
==
0
)
first_system_include
=
new
;
p
->
included
=
1
;
}
}
}
...
...
@@ -2033,6 +2035,7 @@ main (argc, argv)
append_include_chain
(
new
,
new
);
if
(
first_system_include
==
0
)
first_system_include
=
new
;
p
->
included
=
1
;
}
}
}
...
...
@@ -2059,6 +2062,14 @@ main (argc, argv)
fprintf
(
stderr
,
" %.*s
\n
"
,
(
int
)
strlen
(
p
->
fname
)
-
1
,
p
->
fname
);
}
notice
(
"End of search list.
\n
"
);
{
struct
default_include
*
d
;
notice
(
"The following default directories have been omitted from the search path:
\n
"
);
for
(
d
=
include_defaults
;
d
->
fname
;
d
++
)
if
(
!
d
->
included
)
fprintf
(
stderr
,
" %s
\n
"
,
d
->
fname
);
notice
(
"End of omitted list.
\n
"
);
}
}
/* -MG doesn't select the form of output and must be specified with one of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment