Ticket #12212 (closed defect: fixed)
BUG: gnustep constant string class
| Reported by: | afb@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.6 |
| Component: | base | Version: | 1.6.0 |
| Keywords: | FreeBSD support , Linux support | Cc: | |
| Port: |
Description
Apparently GNUstep needs some kind of extra header in order to use constant strings (@"")...
http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/Constant-string-objects.html
Attachments
Change History
Changed 6 years ago by afb@…
- Attachment macports-gnustep.patch added
comment:2 Changed 6 years ago by jmpp@…
- Milestone set to Needs developer review
So what's the word on this one, is the patch good enough? Or is something more elaborate like Landon's autoconf macro necessary?
Setting to "needs dev review" in the mean time.
-jmpp
comment:3 Changed 6 years ago by afb@…
landon wanted to change the default NXConstantString class over to use NSConstantString instead, I have no idea if this breaks anything else in GNUstep - since there is no test case for tclobjc ?
I do know that it doesn't compile without that header, and I don't see any harm in including it...
comment:4 Changed 6 years ago by afb@…
Here is the error message, without the <objc/NXConstStr.h> header patched in:
tclobjc.m: In function `tclobjc_dispatch': tclobjc.m:112: error: cannot find interface declaration for `NXConstantString' tclobjc.m:127: error: cannot find interface declaration for `NXConstantString'
comment:6 Changed 6 years ago by jmpp@…
- Milestone changed from Needs developer review to MacPorts base bugs
Milestone Needs developer review deleted
comment:7 Changed 6 years ago by nox@…
- Priority changed from Expected to Normal
- Summary changed from gnustep constant string class to BUG: gnustep constant string class
comment:9 Changed 6 years ago by afb@…
This bug is a showstopper for GNUstep (FreeBSD/Linux/etc), and is currently being patched downstream in the packages.
comment:10 Changed 6 years ago by afb@…
- Status changed from new to closed
- Version changed from 1.5 to 1.6.0
- Resolution set to fixed
Patch added in r28668.
comment:11 Changed 4 years ago by toby@…
- Milestone changed from MacPorts base bugs to MacPorts Future
Milestone MacPorts base bugs deleted


macports-gnustep.patch