Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47892 Details for
Bug 77060
chasen patch for lvalue cast considered illegal by ANSI C++ and gcc 3.4.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cast patch
chasen-2.4.0_pre1-cppsyn.patch (text/plain), 594 bytes, created by
Robert Coie (RETIRED)
on 2005-01-07 12:44:03 UTC
(
hide
)
Description:
cast patch
Filename:
MIME Type:
Creator:
Robert Coie (RETIRED)
Created:
2005-01-07 12:44:03 UTC
Size:
594 bytes
patch
obsolete
>diff -burN chasen-2.4.0-preview1.orig/lib/dartsdic.cpp chasen-2.4.0-preview1/lib/dartsdic.cpp >--- chasen-2.4.0-preview1.orig/lib/dartsdic.cpp 2003-11-10 21:39:50.000000000 -0800 >+++ chasen-2.4.0-preview1/lib/dartsdic.cpp 2005-01-06 16:16:33.825305759 -0800 >@@ -184,7 +184,7 @@ > lex_indices.push_back(i->second); > } > lens[size] = key.size(); >- (const char*)keys[size] = key.data(); >+ keys[size] = const_cast<char *>( key.data() ); > vals[size] = redump_lex(lens[size], lex_indices, tmpfile, lexfile); > if (vals[size] < 0) { > std::cerr << "Unexpected error at " << key << std::endl;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 77060
: 47892