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
46fe5381
Commit
46fe5381
authored
Aug 24, 1998
by
Jason Merrill
Committed by
Jason Merrill
Aug 23, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixinc.irix: Add curses.h handling from fixinc.wrap.
From-SVN: r21923
parent
44af3436
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
gcc/ChangeLog
+10
-0
gcc/fixinc.irix
+33
-0
No files found.
gcc/ChangeLog
View file @
46fe5381
Mon Aug 24 00:53:53 1998 Jason Merrill <jason@yorick.cygnus.com>
* fixinc.irix: Add curses.h handling from fixinc.wrap.
Fri Aug 14 14:12:59 1998 Jason Merrill <jason@yorick.cygnus.com>
* c-common.c (combine_strings): Also set TREE_READONLY.
Change warn_write_strings to flag_const_strings.
* c-decl.c, c-tree.h: Likewise.
Sun Aug 23 18:39:11 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
Sun Aug 23 18:39:11 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
* config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
...
...
gcc/fixinc.irix
View file @
46fe5381
...
@@ -97,6 +97,39 @@ __EOF__
...
@@ -97,6 +97,39 @@ __EOF__
fi
fi
fi
fi
# Avoid the definition of the bool type in curses.h when using
# g++, since it's now an official type in the C++ language.
# This is also from fixinc.wrap.
file
=
curses.h
if
[
-r
$INPUT
/
$file
]
;
then
echo
Checking
$INPUT
/
$file
w
=
'[ ]'
if
grep
"typedef
$w$w
*char
$w$w
*bool
$w
*;"
$INPUT
/
$file
>
/dev/null
then
echo
Fixed
$file
rm
-f
$LIB
/
$file
cat
<<
'
__EOF__
' >
$LIB
/
$file
#ifndef _CURSES_H_WRAPPER
#ifdef __cplusplus
# define bool __curses_bool_t
#endif
#include_next <curses.h>
#ifdef __cplusplus
# undef bool
#endif
#define _CURSES_H_WRAPPER
#endif /* _CURSES_H_WRAPPER */
__EOF__
# Define _CURSES_H_WRAPPER at the end of the wrapper, not the start,
# so that if #include_next gets another instance of the wrapper,
# this will follow the #include_next chain until we arrive at
# the real <curses.h>.
chmod a+r
$LIB
/
$file
fi
fi
# In limits.h, put #ifndefs around things that are supposed to be defined
# In limits.h, put #ifndefs around things that are supposed to be defined
# in float.h to avoid redefinition errors if float.h is included first.
# in float.h to avoid redefinition errors if float.h is included first.
...
...
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