- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to bring attention of Intel software engineers to a Warning #673: >>... >>Compiling with Intel(R) C++ Compiler XE 12.1.3.300 [IA-32]... (Intel C++ Environment) >>Class01.cpp >>Warning #673: the initial sequence of preprocessing directives is not compatible with those of precompiled header file "Debug\ConTestApp.pchi" >>... This is a very old problem and it could be even reproduced with Intel C++ compiler v8.1 Update 38 ( Release date 06.06.2006 ). Something goes wrong as soon as Stdafx.h is included as follows: [ Class01.cpp ] #include "..\Stdafx.h" #include "..\Include\Class01.h" Class01::Class01() { } instead of: #include "Stdafx.h" #include "..\Include\Class01.h" Class01::Class01() { }
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the report and the test case. I will investigate and get back to you.
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to reproduce the warning you are getting. Note that ConestApp.cpp uses #include "Stdafx.h" but Class01.cpp uses #include "..\Stdafx.h" .
Our PCH implementation is a little different than Microsoft’s. Our PCH implementation expects these to be an exact match. They would match if the .cpp file used to create the PCH was in the same directory as the files using the PCH. I believe we go ahead and use the PCH anyway even if they do not match.
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are welcome Sergey. There is more information on this topic at http://software.intel.com/en-us/articles/cdiag673
Thanks,
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page