New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12212 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

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

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

Change History

Changed 7 years ago by afb@…

macports-gnustep.patch

comment:1 Changed 7 years ago by afb@…

  • Component changed from ports to base

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

  • Keywords FreeBSD support added

comment:6 Changed 7 years ago by jmpp@…

  • Milestone changed from Needs developer review to MacPorts base bugs

Milestone Needs developer review deleted

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

  • Keywords , Linux added

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

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

comment:12 Changed 4 years ago by jmr@…

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