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
b076a285
Commit
b076a285
authored
Jun 08, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1183
parent
6196c528
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/assert.h
+9
-3
No files found.
gcc/assert.h
View file @
b076a285
...
...
@@ -18,10 +18,16 @@
#else
#if
def __STDC__
#if
defined(__STDC__) || defined (__cplusplus)
/* Defined in libgcc.a */
#ifdef __cplusplus
extern
"C"
{
extern
void
__eprintf
(
const
char
*
,
const
char
*
,
int
,
const
char
*
);
}
#else
extern
void
__eprintf
(
const
char
*
,
const
char
*
,
int
,
const
char
*
);
#endif
#define assert(expression) \
((void) ((expression) ? 0 : __assert (#expression, __FILE__, __LINE__)))
...
...
@@ -30,7 +36,7 @@ extern void __eprintf (const char *, const char *, int, const char *);
(__eprintf ("%s:%u: failed assertion `%s'\n", \
file, line, expression), 0)
#else
/* no __STDC__; i.e. -traditional. */
#else
/* no __STDC__
and not C++
; i.e. -traditional. */
extern
void
__eprintf
();
/* Defined in libgcc.a */
...
...
@@ -41,6 +47,6 @@ extern void __eprintf (); /* Defined in libgcc.a */
(__eprintf ("%s:%u: failed assertion `%s'\n", \
file, lineno, "expression"), 0)
#endif
/* no __STDC__; i.e. -traditional. */
#endif
/* no __STDC__
and not C++
; i.e. -traditional. */
#endif
/* no __GNU__; i.e., /bin/cc. */
#endif
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