Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.5.0
-
None
-
Win32, vcxproj generator
-
e04aaf188c735b775dc4483099ec61a9372b0fa8
Description
stable.h content:
#include <stdio.h>
main.c content:
int main() { FILE* f = fopen("somefile","r"); return 0; }
main.pro content:
TEMPLATE = app CONFIG += console precompile_header_c PRECOMPILED_HEADER = stable.h HEADERS = stable.h SOURCES = main.c
Run qmake.
Load project in Visual Studio and build.
Result: build errors.
Expected: no build errors.
Attachments
Issue Links
- relates to
-
QTBUG-11117 add support for plain-C precompiled headers
- Closed