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
5b9b7438
Commit
5b9b7438
authored
Feb 02, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(-error:): Call objc_error function instead of using function pointer.
From-SVN: r13584
parent
71ccd1fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
gcc/objc/Object.m
+2
-4
No files found.
gcc/objc/Object.m
View file @
5b9b7438
/* The implementation of class Object for Objective-C.
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
Copyright (C) 1993, 1994, 1995
, 1997
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -29,8 +29,6 @@ Boston, MA 02111-1307, USA. */
#include "objc/Protocol.h"
#include "objc/objc-api.h"
extern
void
(
*
_objc_error
)(
id
object
,
const
char
*
format
,
va_list
);
extern
int
errno
;
#define MAX_CLASS_NAME_LEN 256
...
...
@@ -337,7 +335,7 @@ extern size_t strlen(const char*);
object_is_instance
(
self
)?
"instance"
:
"class"
,
(
aString
!=
NULL
)?
aString
:
""
);
va_start
(
ap
,
aString
);
(
*
_objc_error
)(
self
,
fmt
,
ap
);
objc_error
(
self
,
OBJC_ERR_UNKNOWN
,
fmt
,
ap
);
va_end
(
ap
);
return
nil
;
#undef FMT
...
...
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