Il 18/07/2014 13:31, FabioNery ha scritto: > Hi, I can't buid the hbsqlit3 lib with xhb.com (xcc) because occurs error > in line 43518: > > sqlite3.c(34629): warning #2115: Local 'bRc' is initialized but never used. > sqlite3.c(43518): error #2088: Lvalue required. > sqlite3.c(8404): warning #2135: Static 'sqlite3one' is not referenced. > > if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){ > static const u8 zerobyte = 0; > rc = sqlite3OsWrite(pPager->jfd, &zerobyte, 1, iNextHdrOffset); > <== line 43518 > } > > Could anyone help me?
Can you try changing static const u8 zerobyte = 0; with static u8 zerobyte = 0; ? EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG Music page: http://www.emagsoftware.it/emgmusic The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers