C++ PATCH for c++/56135 (wrong 'this' capture)

Dominique Dhumieres dominiq@lps.ens.fr
Thu Feb 14 11:59:00 GMT 2013

Hi jason,

The test g++.dg/cpp0x/lambda/lambda-this8.C fails on x86_64-apple-darwin10:

FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)
Excess errors:
/opt/gcc/work/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C:6:31: error: declaration of 'void abort() throw ()' has a different exception specifier
/usr/include/stdlib.h:145:7: error: from previous declaration 'void abort()'

UNRESOLVED: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 compilation failed to produce executable



More information about the Gcc-patches mailing list