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
dd22b925
Commit
dd22b925
authored
Feb 16, 1994
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix uses of new in Xm/Traversal.h.
From-SVN: r6573
parent
c41f817d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/fixincludes
+3
-2
No files found.
gcc/fixincludes
View file @
dd22b925
...
@@ -1089,13 +1089,14 @@ if [ -r ${LIB}/$file ]; then
...
@@ -1089,13 +1089,14 @@ if [ -r ${LIB}/$file ]; then
if
grep
__cplusplus
${
LIB
}
/
$file
>
/dev/null 2>/dev/null
;
then
if
grep
__cplusplus
${
LIB
}
/
$file
>
/dev/null 2>/dev/null
;
then
true
;
true
;
else
else
echo
Fixing
$file
,
field
new
echo
Fixing
$file
,
uses of
new
sed
-e
'/Widget old, new;/i\
sed
-e
'/Widget old, new;/i\
#ifdef __cplusplus\
#ifdef __cplusplus\
Widget old, c_new;\
Widget old, c_new;\
#else'
\
#else'
\
-e
'/Widget old, new;/a\
-e
'/Widget old, new;/a\
#endif'
${
LIB
}
/
$file
>
${
LIB
}
/
${
file
}
.sed
#endif'
\
-e
's/Widget new,/Widget c_new,/g'
${
LIB
}
/
$file
>
${
LIB
}
/
${
file
}
.sed
rm
-f
${
LIB
}
/
$file
;
mv
${
LIB
}
/
${
file
}
.sed
${
LIB
}
/
$file
rm
-f
${
LIB
}
/
$file
;
mv
${
LIB
}
/
${
file
}
.sed
${
LIB
}
/
$file
fi
fi
if
cmp
$file
${
LIB
}
/
$file
>
/dev/null 2>&1
;
then
if
cmp
$file
${
LIB
}
/
$file
>
/dev/null 2>&1
;
then
...
...
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