"Enrico Maria Giordano" 
<e.m.giord...@emagsoftware.it> escreveu na mensagem 
news:53c9328e.9060...@emagsoftware.it...
>
>
> 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
>
> --

Hi, now I got:

Type: C 
 >>>xcc.exe -Fo"sqlite3.obj" -Ot   -I"C:\xHB\include" -I"C:\xHB\c_include" 
 >>>-I"C:\xHB\c_include\win" 
 -I"C:\xHB\c_include\msvc" "sqlite3.c"<<<

sqlite3.c(1478): fatal error #1043: Input buffer overflow.

Type: C >>>Couldn't build: sqlite3.obj<<<
Type: C >>>TMAKEOBJECT<<<
Type: C >>>TMAKEOBJECT:REFRESH<<<
Type: N >>>      1408<<<

Thanks,
Fabio Nery








---
Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus 
está ativa.
http://www.avast.com



------------------------------------------------------------------------------
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

Reply via email to