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-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep