[Qt-interest] Compile error qt-4.7.3 on Sparc Solaris10

Mizuho Matsunaga mizu0 at mizucci.net
Thu May 5 07:53:28 CEST 2011


Hi Thiago

I change soource code of qdbusintegrator.cpp.
I except const " first paramater type" of   "Q_GLOBAL_STATIC_WITH_ARGS"
I resolve this error.

I keep to compile.

Thanks.


From: Thiago Macieira <thiago at kde.org>
Subject: Re: [Qt-interest] Compile error qt-4.7.3 on Sparc Solaris10
Date: Wed, 04 May 2011 20:39:15 +0200

> On Thursday, 5 de May de 2011 02:45:59 Mizuho Matsunaga wrote:
>> I try to compile qt-4.7.3 on Sparc Solaris10 by solstudio12.2.
>> But Compile error occured.
>> Is this error  bad arrgument ?
>> What  I have to do ?
> 
>> "../../include/QtCore/../../src/corelib/arch/qatomic_sparc.h", line 238:
>> Error: Formal argument expected of type void* in call to
>> q_atomic_test_and_set_acquire_ptr(volatile void*, void*, void*) is being
>> passed const QString*. "qdbusintegrator.cpp"
> 
> This requires a fix in qatomic_sparc.h. It's missing a few "const" additions to 
> the function listed above. When you fix this, please create a merge request to 
> Qt so we can update the code properly.
> 
> -- 
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>   Senior Product Manager - Nokia, Qt Development Frameworks
>       PGP/GPG: 0x6EF45358; fingerprint:
>       E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
松永 瑞穂 - Mizuho Matsunaga - 
<mailto:mizu0 at mizucci.net>



More information about the Qt-interest-old mailing list