Bug 112526

Summary: Compiling sqlite for a Big Endian Platform on Little Endian x86-64 processor
Product: [Applications] digikam Reporter: Marcin Garski <mgarski>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.7.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

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