Skip to content

Instantly share code, notes, and snippets.

@netdesign
Created September 20, 2011 17:12
Show Gist options
  • Select an option

  • Save netdesign/1229688 to your computer and use it in GitHub Desktop.

Select an option

Save netdesign/1229688 to your computer and use it in GitHub Desktop.
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../lib/qt4/include/QtCore -I../../../lib/qt4/include/QtCore -I../../../lib/qt4/include -I. -I. -o qtdirs.o qtdirs.cpp
../../../lib/qt4/include/QtCore/qatomic_i386.h: In function ‘int q_atomic_test_and_set_ptr(volatile void*, void*, void*)’:
../../../lib/qt4/include/QtCore/qatomic_i386.h:58: error: cast from ‘void*’ to ‘int’ loses precision
../../../lib/qt4/include/QtCore/qatomic_i386.h:59: error: cast from ‘void*’ to ‘int’ loses precision
../../../lib/qt4/include/QtCore/qatomic_i386.h: In function ‘void* q_atomic_set_ptr(volatile void*, void*)’:
../../../lib/qt4/include/QtCore/qatomic_i386.h:98: error: cast from ‘void*’ to ‘int’ loses precision
make: *** [qtdirs.o] Error 1
Error: Failed to determine the layout of your Qt installation. Try again using
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment