[cfe-commits] [libcxxabi] r169402 - /libcxxabi/trunk/src/cxa_demangle.cpp
Daniel Malea
daniel.malea at intel.com
Wed Dec 5 10:55:50 PST 2012
Author: dmalea
Date: Wed Dec 5 12:55:49 2012
New Revision: 169402
URL: http://llvm.org/viewvc/llvm-project?rev=169402&view=rev
Log:
Rename class __lambda_node to ___lambda_node to fix compile failure with gcc 4.6 and 4.7
- using "__lambda_node" causes internal compiler error in newer GCC versions
Modified:
libcxxabi/trunk/src/cxa_demangle.cpp
Modified: libcxxabi/trunk/src/cxa_demangle.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_demangle.cpp?rev=169402&r1=169401&r2=169402&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_demangle.cpp (original)
+++ libcxxabi/trunk/src/cxa_demangle.cpp Wed Dec 5 12:55:49 2012
@@ -3941,11 +3941,11 @@
}
};
-class __lambda_node
+class ___lambda_node
: public __node
{
public:
- __lambda_node(__node* params, const char *number, size_t number_size)
+ ___lambda_node(__node* params, const char *number, size_t number_size)
{
__right_ = params;
__name_ = number;
@@ -7024,7 +7024,7 @@
t = number_end + 1;
if (type == 'l')
{
- if (!__make<__lambda_node>(params, number_start, static_cast<size_t>(number_end - number_start)))
+ if (!__make<___lambda_node>(params, number_start, static_cast<size_t>(number_end - number_start)))
return first;
}
else
More information about the cfe-commits
mailing list