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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 7 15:04:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57607

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
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] << std::endl;
                       ^


More information about the Gcc-bugs mailing list