why would you need stdafx.h for sqlite ? what is the added benefit ?

On 13 November 2012 14:57, Michael Schlenker <m...@contact.de> wrote:

> Am 13.11.2012 14:33, schrieb Arbol One:
> > I would also keep this feature, however, in the case of SQLite3
> > amalgamation, I am really confused. You know how we have to #include
> > the 'stdafx.h' in every declaration file (making it non-portable
> > code), i.e. .c, .cpp, etc., well, I tried doing the same thing with
> > sqlite.c, but VS10 complains about it.
>
> You can do that without making it non portable by adding /FI to your
> compile line:
> http://msdn.microsoft.com/en-us/library/8c5ztk84%28v=vs.71%29.aspx
>
> Try /FI "stdafx.h"
>
> Michael
>
> >
> > What a nightmare Visual Studio is >:(
> >
> > Genius might have limitations, but stupidity is no handicap Eat
> > Kosher
> >
> > -----Original Message----- From: sqlite-users-boun...@sqlite.org
> > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of John Drescher
> > Sent: Monday, November 12, 2012 7:44 PM To: General Discussion of
> > SQLite Database Subject: Re: [sqlite] VC++ and SQLite
> >
> > On Mon, Nov 12, 2012 at 1:52 PM, Doug Nebeker <pa...@poweradmin.com>
> > wrote:
> >> You might be surprised at the speed increase you see in compile
> >> time if you've got large projects.  The time isn't lost to CPU as
> >> much, but disk I/O time adds up when hitting many hundreds of small
> >> (header) files (even with an SSD).
> >>
> >
> > This is why I use PCH. Building some of my projects take a long time
> > even on a 12 threaded processor with multiple SSDs.
> >
> >
> > -- John M. Drescher _______________________________________________
> > 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
> >
>
>
> --
> Michael Schlenker
> Software Architect
>
> CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
> Wiener Straße 1-3               Fax:    +49 (421) 20153-41
> 28359 Bremen
> http://www.contact.de/          E-Mail: m...@contact.de
>
> Sitz der Gesellschaft: Bremen
> Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe
> Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Noël Frankinet
Strategis sprl
0478/90.92.54
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to