Hiho,

since this is pending review...

http://www.fossil-scm.org/index.html/info/06fd798bdcb9da50

FYI: that won't compile properly on some systems because C does not allow
an empty compilation unit, which is what that amounts to when fuse is
disabled. (i had a similar proble
Personally i prefer the existing (trunk) behaviour over eliding the command
altogether.

i remember seeing that when integrating json:

[stephan@host:~/cvs/fossil/fossil/src]$ gcc -UFOSSIL_ENABLE_JSON -c
cson_amalgamation.c -o x
[stephan@host:~/cvs/fossil/fossil/src]$ l x
-rw-r--r-- 1 stephan stephan 941 Jan 21 13:50 x

hmmm, okay, that works. But add -pedantic...

[stephan@host:~/cvs/fossil/fossil/src]$ gcc -pedantic -UFOSSIL_ENABLE_JSON
-c cson_amalgamation.c -o x
cson_amalgamation.c:5706:0: warning: ISO C forbids an empty translation
unit [-Wpedantic]
 #endif /* FOSSIL_ENABLE_JSON */
 ^


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to