Opened 9 years ago

Closed 9 years ago

Last modified 7 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@… 9 years ago.
macports-gnustep.patch

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by afb@…

macports-gnustep.patch

comment:1 Changed 9 years ago by afb@…

  • Component changed from ports to base

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

  • Keywords FreeBSD support added

comment:6 Changed 9 years ago by jmpp@…

  • Milestone changed from Needs developer review to MacPorts base bugs

Milestone Needs developer review deleted

comment:7 Changed 9 years ago by nox@…

  • Priority changed from Expected to Normal
  • Summary changed from gnustep constant string class to BUG: gnustep constant string class

comment:8 Changed 9 years ago by afb@…

  • Keywords Linux added

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

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from 1.5 to 1.6.0

Patch added in r28668.

comment:11 Changed 8 years ago by tobypeterson

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

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

  • Milestone changed from MacPorts Future to MacPorts 1.6
Note: See TracTickets for help on using tickets.