I have added sqlite-amalgamation to my project and at the top of 'sqlite3.c' I added
#include"stdafx.h"
this gives me an error that reads:
fatal error C1853: 'Debug\My_App.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
Well, the precompiled header is C++ and sqlite3.c is C code, the error is correct, but how do I fix this problem?
I have added sqlite-amalgamation to my project and at the top of 'sqlite3.c' I added
#include"stdafx.h"
this gives me an error that reads:
fatal error C1853: 'Debug\My_App.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
Well, the precompiled header is C++ and sqlite3.c is C code, the error is correct, but how do I fix this problem?
Why do you want to include "stdafx.h" in this file?
I have added sqlite-amalgamation to my project and at the top of 'sqlite3.c' I added
#include"stdafx.h"
this gives me an error that reads:
fatal error C1853: 'Debug\My_App.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
Well, the precompiled header is C++ and sqlite3.c is C code, the error is correct, but how do I fix this problem?
Why do you want to include "stdafx.h" in this file?