Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 15634] Qt4 with internal SQLite fails to compile with -ffast-math

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 15634] Qt4 with internal SQLite fails to compile with -ffast-math
  • Date: 11 Jul 2010 03:19:39 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15634





--- Comment #3 from Ismael Luceno <ismael.luceno AT gmail.com> 2010-07-10
22:19:33 ---
Now it fails even with QtWebkit disabled...

gcc -c -march=native -mtune=native -m64 -pipe -DPIC -fPIC -Os -ffast-math
-I/usr/include -fvisibility=hidden -D_REENTRANT -Wall -W -fPIC -DNDEBUG
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../mkspecs/linux-g++ -I. -I../../../../include/QtCore
-I../../../../include/QtSql -I../../../../include -I../../../3rdparty/sqlite
-I.moc/release-shared -o .obj/release-shared/sqlite3.o
../../../3rdparty/sqlite/sqlite3.c
../../../3rdparty/sqlite/sqlite3.c:18541:3: error: #error SQLite will not work
correctly with the -ffast-math option of GCC.
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3ValueText':
../../../3rdparty/sqlite/sqlite3.c:47037: warning: cast from pointer to
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3VdbeChangeP4':
../../../3rdparty/sqlite/sqlite3.c:47898: warning: cast from pointer to
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3VdbeRecordUnpack':
../../../3rdparty/sqlite/sqlite3.c:49884: warning: cast from pointer to
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3_blob_open':
../../../3rdparty/sqlite/sqlite3.c:58006: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3RefillIndex':
../../../3rdparty/sqlite/sqlite3.c:68143: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'trimFunc':
../../../3rdparty/sqlite/sqlite3.c:71610: warning: cast from pointer to
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3OpenTable':
../../../3rdparty/sqlite/sqlite3.c:73331: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function
'sqlite3GenerateConstraintChecks':
../../../3rdparty/sqlite/sqlite3.c:74637: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: At top level:
../../../3rdparty/sqlite/sqlite3.c:76126: warning: missing initializer
../../../3rdparty/sqlite/sqlite3.c:76126: warning: (near initialization for
'sqlite3Apis.aggregate_count')
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3_get_table':
../../../3rdparty/sqlite/sqlite3.c:82959: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3_free_table':
../../../3rdparty/sqlite/sqlite3.c:83003: warning: cast from pointer to
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'codeOneLoopStart':
../../../3rdparty/sqlite/sqlite3.c:89037: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c:89071: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c:89202: warning: cast to pointer from
integer
of different size
../../../3rdparty/sqlite/sqlite3.c: In function 'sqlite3WhereBegin':
../../../3rdparty/sqlite/sqlite3.c:89733: warning: cast to pointer from
integer
of different size
make[3]: *** [.obj/release-shared/sqlite3.o] Error 1
make[3]: Leaving directory
`/usr/src/qt-everywhere-opensource-src-4.6.3/src/plugins/sqldrivers/sqlite'

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page