Bug 112526 - Compiling sqlite for a Big Endian Platform on Little Endian x86-64 processor
Summary: Compiling sqlite for a Big Endian Platform on Little Endian x86-64 processor
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 0.7.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 13:40 UTC by Marcin Garski
Modified: 2017-08-19 20:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Garski 2005-09-13 13:40:57 UTC
Version:           0.7.4 (using KDE KDE 3.4.2)
Installed from:    Fedora RPMs
Compiler:          gcc version 4.0.1 20050727 (Red Hat 4.0.1-5) 
OS:                Linux

When I compile digiKam on x86-64 CPU (Fedora Core 4) (which is Little Endian) I get following warnings.

From configure:
checking whether byte ordering is bigendian... no

From g++:
sqliteInt.h:118:2: warning: #warning "WARNING: Compiling sqlite for a Big Endian Platform."
sqliteInt.h:119:2: warning: #warning "WARNING: If you know this isn't true, please file a bugreport."

So I file a bugreport.
Comment 1 Renchi Raju 2005-09-15 08:50:36 UTC
SVN commit 460772 by pahlibar:

oops. that should have been 64-bit and not big endian
BUGS: 112526


 M  +1 -1      sqliteInt.h  


--- trunk/extragear/graphics/digikam/sqlite/sqliteInt.h #460771:460772
@@ -115,7 +115,7 @@
 #   define INTPTR_TYPE int
 # else
 #   define INTPTR_TYPE long long
-#warning "WARNING: Compiling sqlite for a Big Endian Platform."
+#warning "WARNING: Compiling sqlite for a 64 bit Platform."
 #warning "WARNING: If you know this isn't true, please file a bugreport."
 # endif
 #endif