https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607
Eric Gallager changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607
egallager at gcc dot gnu.org changed:
What|Removed |Added
CC||egallager at gcc dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607
Douglas Mencken changed:
What|Removed |Added
CC||dougmencken at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607
--- Comment #2 from Jonathan Wakely ---
Seems to be fixed in GCC 5 though:
l.mm: In function ‘int main()’:
l.mm:10:23: error: cannot find interface declaration for ‘NXConstantString’
std::cout << [@"Hello world!" UTF8String] <<
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607
--- Comment #3 from Douglas Mencken ---
(In reply to Jonathan Wakely from comment #2)
> Seems to be fixed in GCC 5 though:
Yep, 5.2 works:
$ g++-5.2 -std=gnu++11 -framework CoreFoundation -lobjc test.mm && ./a.out
Hello world!