Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 49798 Details for
Bug 79919
commonc++ fails to compile with GCC >= 3.4: patch included
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes problems in cmdoptns.cpp:352-353 for GCC 3.4
CommonC++-cmdoptns.diff (text/plain), 751 bytes, created by
Benjamin Collins
on 2005-01-28 23:17:50 UTC
(
hide
)
Description:
Fixes problems in cmdoptns.cpp:352-353 for GCC 3.4
Filename:
MIME Type:
Creator:
Benjamin Collins
Created:
2005-01-28 23:17:50 UTC
Size:
751 bytes
patch
obsolete
>--- cmdoptns.cpp.orig 2005-01-29 00:55:31.424508256 -0600 >+++ cmdoptns.cpp 2005-01-29 01:04:50.283548768 -0600 >@@ -348,9 +348,16 @@ > #ifdef __KCC > co_list = new (CommandOption **)[ocnt]; > opt_list = new (CommandOption **)[ccnt]; >-#else >- co_list = new (CommandOption *)[ocnt]; >- opt_list = new (CommandOption *)[ccnt]; >+#endif >+#if defined(__GNUC__) >+ #if (__GNUC__>=3) && (__GNUC_MINOR__>=4) >+ /* removed the parethesis below here for GCC 3.4.3 */ >+ co_list = new CommandOption *[ocnt]; >+ opt_list = new CommandOption *[ccnt]; >+ #else >+ co_list = new (CommandOption *)[ocnt]; >+ opt_list = new (CommandOption *)[ccnt]; >+ #endif > #endif > long_options = new option[ccnt+1]; > optstring = new char[ 2*ccnt+2 ];
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 79919
: 49798