diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-10 12:14:38 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-10 12:14:38 +0000 |
commit | d652db17e52548d87023d867d13aabf3c23cb7d4 (patch) | |
tree | 75a1e892164cfdb523b2433448f8b2d486784f1f /libobjc/nil_method.c | |
parent | 5b8fbd2f365a16eed1ca8c1a17b400fd10fcdee7 (diff) | |
download | gcc-d652db17e52548d87023d867d13aabf3c23cb7d4.tar.gz |
2002-09-10 Jan Hubicka <jh@suse.cz>
* nil_method.c (nil_method): No longer varardic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57001 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/nil_method.c')
-rw-r--r-- | libobjc/nil_method.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libobjc/nil_method.c b/libobjc/nil_method.c index 800b0e3bf53..47201d69cc1 100644 --- a/libobjc/nil_method.c +++ b/libobjc/nil_method.c @@ -29,8 +29,12 @@ Boston, MA 02111-1307, USA. */ #include "runtime.h" +/* nil_method is declared with variable arguments but the runtime calls it + in a way that does not setup the variable arguments correctly. Some Architectures + that have special arg calling conventions like x86-64 do need every function with + variable arguments called the correct way. */ id -nil_method (id receiver, SEL op __attribute__ ((__unused__)), ...) +nil_method (id receiver, SEL op __attribute__ ((__unused__))) { return receiver; } |