Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198621 Details for
Bug 278247
dev-java/qtjambi: fails to build with gcc-4.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch solving a part of the compilation errors.
qtjambi-INCOMPLETE-4.4.3.patch (text/plain), 1.53 KB, created by
Dominik Kapusta (RETIRED)
on 2009-07-20 15:49:58 UTC
(
hide
)
Description:
Patch solving a part of the compilation errors.
Filename:
MIME Type:
Creator:
Dominik Kapusta (RETIRED)
Created:
2009-07-20 15:49:58 UTC
Size:
1.53 KB
patch
obsolete
>diff --git a/generator/parser/rpp/pp-internal.h b/generator/parser/rpp/pp-internal.h >index e7d7886..9d44602 100755 >--- a/generator/parser/rpp/pp-internal.h >+++ b/generator/parser/rpp/pp-internal.h >@@ -45,6 +45,8 @@ > > #include <algorithm> > >+#include <cstdio> >+ > namespace rpp { > > namespace _PP_internal >diff --git a/juic/javautils.cpp b/juic/javautils.cpp >index ca524d8..d1e999b 100755 >--- a/juic/javautils.cpp >+++ b/juic/javautils.cpp >@@ -42,6 +42,8 @@ > #include "javautils.h" > #include <QtCore/QHash> > >+#include <cstdio> >+ > QString javaFixString(const QString &str) > { > const ushort *chars = str.utf16(); >diff --git a/qtjambi/qtdynamicmetaobject.cpp b/qtjambi/qtdynamicmetaobject.cpp >index 2f4052b..c0968f6 100755 >--- a/qtjambi/qtdynamicmetaobject.cpp >+++ b/qtjambi/qtdynamicmetaobject.cpp >@@ -180,11 +180,12 @@ void QtDynamicMetaObjectPrivate::initialize(JNIEnv *env, jclass java_class, cons > > int extra_data_count = extra_data != 0 ? env->GetArrayLength(extra_data) : 0; > if (extra_data_count > 0) { >- q->d.extradata = new const QMetaObject *[extra_data_count]; >+ const QMetaObject **ptr = new const QMetaObject *[extra_data_count]; >+ q->d.extradata = ptr; > Q_ASSERT(q->d.extradata != 0); > > for (int i=0; i<extra_data_count; ++i) >- q->d.extradata[i] = qtjambi_metaobject_for_class(env, reinterpret_cast<jclass>(env->GetObjectArrayElement(extra_data, i)), 0); >+ ptr[i] = qtjambi_metaobject_for_class(env, reinterpret_cast<jclass>(env->GetObjectArrayElement(extra_data, i)), 0); > } > >
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 278247
:
198393
|
198621
|
198626