Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 226493 Details for
Bug 312869
dev-libs/Ice-3.4.0 new release ebuild+patch file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/Ice-3.4.0-stream1.patch
Ice-3.4.0-stream1.patch (text/plain), 1.26 KB, created by
Philip Kovacs
on 2010-04-04 00:25:30 UTC
(
hide
)
Description:
files/Ice-3.4.0-stream1.patch
Filename:
MIME Type:
Creator:
Philip Kovacs
Created:
2010-04-04 00:25:30 UTC
Size:
1.26 KB
patch
obsolete
>--- ./src/slice2cpp/Gen.cpp >+++ ./src/slice2cpp/Gen.cpp >@@ -6629,21 +6629,34 @@ Slice::Gen::StreamVisitor::visitModuleStart(const ModulePtr& m) > { > return false; > } >- H.zeroIndent(); >- H << nl << "#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug"; // COMPILERFIX >- H << nl << "#else"; >- H.restoreIndent(); >- H << nl << "namespace Ice" << nl << '{'; >+ if(UnitPtr::dynamicCast(m->container())) >+ { >+ // >+ // Only emit this for the top-level module. >+ // >+ H << sp; >+ H.zeroIndent(); >+ H << nl << "#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug"; // COMPILERFIX >+ H << nl << "#else"; >+ H.restoreIndent(); >+ H << nl << "namespace Ice" << nl << '{'; >+ } > return true; > } > > void >-Slice::Gen::StreamVisitor::visitModuleEnd(const ModulePtr&) >+Slice::Gen::StreamVisitor::visitModuleEnd(const ModulePtr& m) > { >- H << nl << '}'; >- H.zeroIndent(); >- H << nl << "#endif"; >- H.restoreIndent(); >+ if(UnitPtr::dynamicCast(m->container())) >+ { >+ // >+ // Only emit this for the top-level module. >+ // >+ H << nl << '}'; >+ H.zeroIndent(); >+ H << nl << "#endif"; >+ H.restoreIndent(); >+ } > } > > bool
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 312869
:
226311
|
226313
|
226467
|
226469
| 226493 |
226495
|
226499
|
234799
|
234803