Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#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 (1)

macports-gnustep.patch (377 bytes) - added by afb@… 17 years ago.
macports-gnustep.patch

Download all attachments as: .zip

Change History (13)

Changed 17 years ago by afb@…

Attachment: macports-gnustep.patch added

macports-gnustep.patch

comment:1 Changed 17 years ago by afb@…

Component: portsbase

comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: 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 17 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 17 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:5 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Keywords: FreeBSD support added

comment:6 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Needs developer reviewMacPorts base bugs

Milestone Needs developer review deleted

comment:7 Changed 17 years ago by nox@…

Priority: ExpectedNormal
Summary: gnustep constant string classBUG: gnustep constant string class

comment:8 Changed 17 years ago by afb@…

Keywords: Linux added

comment:9 Changed 17 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 17 years ago by afb@…

Resolution: fixed
Status: newclosed
Version: 1.51.6.0

Patch added in r28668.

comment:11 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:12 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.6
Note: See TracTickets for help on using tickets.