Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:36 PM, Stephan Beal wrote: > On Fri, Sep 16, 2011 at 4:33 PM, Richard Hipp wrote: > >> If by FILE handle you mean one that is connected via TCP/IP to a client on >> the other end, then yes, you should be OK. >> > > g.httpOut, for example. In HTTP mode i'm using that han

Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:33 PM, Richard Hipp wrote: > If by FILE handle you mean one that is connected via TCP/IP to a client on > the other end, then yes, you should be OK. > g.httpOut, for example. In HTTP mode i'm using that handle. In CLI mode i'm using stdout. For POST data i'm reading fro

Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Richard Hipp
On Fri, Sep 16, 2011 at 10:24 AM, Stephan Beal wrote: > i'm hoping that outputing raw UTF8 to a FILE handle is portable. > > If by FILE handle you mean one that is connected via TCP/IP to a client on the other end, then yes, you should be OK. But any input/output from the the console will give p

Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:20 PM, Richard Hipp wrote: > The MinGW build works for me, but MSVC errors out. Unresolved cson_* > symbols. No time to debug it now - perhaps latter. > This is related to the build files, not the code. i need to figure out how to tell makemake.tcl to include cson_ama

Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Richard Hipp
On Fri, Sep 16, 2011 at 9:50 AM, Stephan Beal wrote: > 2011/9/16 Robert Engelhardt > >> ...Ja, damit funktioniert es nun, und man erhält ein lauffähiges Binary :) >> > > Translation: the windows build now works and the binary runs. > > THANK YOU, Robert and Joe! > The MinGW build works for me,

Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Stephan Beal
2011/9/16 Robert Engelhardt > ...Ja, damit funktioniert es nun, und man erhält ein lauffähiges Binary :) > Translation: the windows build now works and the binary runs. THANK YOU, Robert and Joe! -- - stephan beal http://wanderinghorse.net/home/stephan/ ___

Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 3:34 PM, Joe Mistachkin wrote: > src/cson_amalgamation.c:5445:4: error: #error "unlink not implemented for > this platform." > i just committed that fix before your mail arrived, thanks to a report from Robert Engelhardt. :) i now use remove() in Windows mode. If that do

Re: [fossil-users] Windows build of json branch?

2011-09-16 Thread Joe Mistachkin
Tried here (using MinGW) and got the following errors: src/cson_amalgamation.c:3914:0: warning: ignoring #pragma warning src/cson_amalgamation.c: In function 'cson_session_file_remove': src/cson_amalgamation.c:5445:4: error: #error "unlink not implemented for this platform." src/cson_amalgamation

[fossil-users] Windows build of json branch?

2011-09-16 Thread Stephan Beal
Hello, fellow developers, Could i ask (beg!) one of you Windows users to try to compile the json branch on Windows? i've introduced two new files in that branch (the underlying JSON lib) and while i am 98% certain that all of that code is portable C89 (it builds warning-free on tcc, clang, and gcc