64 Bit System und qatomic.h...
Verfasst: 10. September 2006 14:26
Hi,
ich hab einen AMD Athlon(tm) 64 Processor und entsprechend configurierte gcc und libs. Jetzt wollte ich gerade QTopia Core (4.12) kopmlilieren und traf dann auf folgendes Problem:
Könnte mir einer sagen wie ich diese offensichtlichen 64-Bit Probleme löse?
Danke
Elgrimm Esleborn
ich hab einen AMD Athlon(tm) 64 Processor und entsprechend configurierte gcc und libs. Jetzt wollte ich gerade QTopia Core (4.12) kopmlilieren und traf dann auf folgendes Problem:
Code: Alles auswählen
./../include/QtCore/../../src/corelib/arch/qatomic_i386.h: In function
'int q_atomic_test_and_set_ptr(volatile void*, void*, void*)':
../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:56: error:
cast from 'void*' to 'int' loses precision
../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:57: error:
cast from 'void*' to 'int' loses precision
../../include/QtCore/../../src/corelib/arch/qatomic_i386.h: In function
'void* q_atomic_set_ptr(volatile void*, void*)':
../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:96: error:
cast from 'void*' to 'int' loses precisionDanke
Elgrimm Esleborn