[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #42405] NS_MESSAGE() macro is invalid
From: |
David Albrecht |
Subject: |
[bug #42405] NS_MESSAGE() macro is invalid |
Date: |
Thu, 22 May 2014 15:02:18 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?42405>
Summary: NS_MESSAGE() macro is invalid
Project: GNUstep
Submitted by: xalbrech
Submitted on: Thu 22 May 2014 03:02:18 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Use of NS_MESSAGE() macro defined in NSInvocation.m results in an exception at
runtime.
Attached is an example code (NSMessageTest.m) that will show the error when
run.
The exception I obtained was:
: Uncaught exception NSInvalidArgumentException, reason: +[NSInvocation
_newProxyForMessage:]: unrecognized selector sent to instance 0x67005060
Indeed, the NS_MESSAGE() expands to a call of a method that is not defined by
NSInvocation.
I could reproduce the problem using pre-built GNUstep 1.24.6 for 32-bit
Windows and also our custom 64-bit Windows build.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 22 May 2014 03:02:18 PM GMT Name: NSMessageTest.m Size: 2kB By:
xalbrech
<http://savannah.gnu.org/bugs/download.php?file_id=31415>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42405>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #42405] NS_MESSAGE() macro is invalid,
David Albrecht <=