Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12212 (closed defect: fixed)

Opened 17 months ago

Last modified 15 months ago

BUG: gnustep constant string class

Reported by: afb@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts base bugs
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@… 17 months ago.
macports-gnustep.patch

Change History

Changed 17 months ago by afb@…

macports-gnustep.patch

Changed 17 months ago by afb@…

  • component changed from ports to base

Changed 17 months 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

Changed 17 months 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...

Changed 17 months 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'

Changed 17 months ago by jmpp@…

  • keywords FreeBSD support added

Changed 16 months ago by jmpp@…

  • milestone changed from Needs developer review to MacPorts base bugs

Milestone Needs developer review deleted

Changed 16 months ago by nox@…

  • priority changed from Expected to Normal
  • summary changed from gnustep constant string class to BUG: gnustep constant string class

Changed 16 months ago by afb@…

  • keywords , Linux added

Changed 16 months ago by afb@…

This bug is a showstopper for GNUstep (FreeBSD/Linux/etc), and is currently being patched downstream in the packages.

Changed 15 months 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.

Note: See TracTickets for help on using tickets.