UnQLite Users Forum

32bit os safty: compile for arm 32bit warrned " warning: integer constant is too large for 'long' "

append delete bruce

Hi,

when compile under arm-linux-gcc for 32bit cpu, it warns about the 64bits integer literals used for limits are too large for the 32 bit long.

'''
if( pPager->dbSize == SXU64_HIGH ) {
unqliteGenError(pPager->pDb,"Database maximum page limit (64-bit) reached");
return UNQLITE_LIMIT;
}

'''

any guide on how to make it work on 32bit os

Reply RSS

Replies

append delete #1. devel

I didn't compile it on ARM 32, but I think it should be fine working with the 64-bit file format if you do not exceed 4 GB limit imposed by 32 bit systems.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: chm_at_symisc, devel_at_symisc