On Apr 21, 2008, at 4:25 PM, Richard Klein wrote:
> Thanks, Mark!
>
> I use the individual source files rather than the amalgamation,
> for several reasons:
To generate individual source files run
make target_source
>
>
> (1) Visual Studio has trouble generating line number info for
> files that have more than 64K lines.
Report this bug to Microsoft.
>
>
> (2) Perforce (our version control software) has trouble diff'ing
> two versions of a large file.
I had similar problems when I was working on the diff-er
in fossil (http://www.fossil-scm.org/) but I eventually overcame
them. Suggest you report the problem to Perforce. They are
welcomed to use my (GPLed) fossil code :-)
> (3) We build SQLite for many different target platforms, using
> various C and C++ compilers. We get many (i.e. hundreds) of
> warnings, and even some errors. When fixing these problems,
> it is simply easier to edit many smaller files rather than one
> huge, unwieldy file.
As for warnings, see http://www.sqlite.org/faq.html#q17
SQLite is ANSI-C code, not C++ so if you try to compile
it with a C++ compiler you might well get errors. I suggest
you use a C compiler instead. Surely Visual Studio must
include a C compiler.
D. Richard Hipp
[EMAIL PROTECTED]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users