[sqlite] Compiler invariancy

2009-11-27 Thread Christo Christoff

Hi
I report a prblem when compiling the recent fossil-based sqlite sources with 
BorlandC.
'
sqlite3.c:
Error E2140 sqlite3.c 99710: Declaration is not allowed here in function 
fts3TermSelect
*** 1 errors in Compile ***
'

I Use the amalgamation of the 3.6.21
The Borland C compiler complains about the inline variable declaration
Fts3SegReader **pArray ...
 in the finction `static int fts3TermSelect`
In order to achieve a compiler-invariancy I Suggest moving the problematic 
declaration 
upwards.
Best regards: Chris
  
_
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Compiler invariancy

2009-11-27 Thread Dan Kennedy

On Nov 27, 2009, at 6:52 AM, Christo Christoff wrote:

>
> Hi
> I report a prblem when compiling the recent fossil-based sqlite  
> sources with BorlandC.
> '
> sqlite3.c:
> Error E2140 sqlite3.c 99710: Declaration is not allowed here in  
> function fts3TermSelect
> *** 1 errors in Compile ***
> '
>
> I Use the amalgamation of the 3.6.21
> The Borland C compiler complains about the inline variable declaration
> Fts3SegReader **pArray ...
> in the finction `static int fts3TermSelect`
> In order to achieve a compiler-invariancy I Suggest moving the  
> problematic declaration
> upwards.

Thanks. Fixed here:

  http://www.sqlite.org/src/vinfo/97d332416069d2fbce323740b276d0e75235

> Best regards: Chris
>   
> _
> Windows Live: Friends get your Flickr, Yelp, and Digg updates when  
> they e-mail you.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users