[Bug objc++/57607] g++ cannot distinguish obj-c message call from c++11 lambda

2017-09-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug objc++/57607] g++ cannot distinguish obj-c message call from c++11 lambda

2017-07-19 Thread egallager at gcc dot gnu.org
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

[Bug objc++/57607] g++ cannot distinguish obj-c message call from c++11 lambda

2015-09-07 Thread dougmencken at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607 Douglas Mencken changed: What|Removed |Added CC||dougmencken at gmail dot com ---

[Bug objc++/57607] g++ cannot distinguish obj-c message call from c++11 lambda

2015-09-07 Thread redi at gcc dot gnu.org
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] <<

[Bug objc++/57607] g++ cannot distinguish obj-c message call from c++11 lambda

2015-09-07 Thread dougmencken at gmail dot com
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!