- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I set up my solution to swtich from using the MS compiler to using Intel's Composer XE. For every .cpp file that compiles the output window says
"compiling with Intel C++ Compiler XE 12.1.4.325 (IA-32)...(Intel C++ Environment
.cpp
39442.cpp
39442.cpp
39442.cpp
...
"
The numbers change with different files.
What are these numbered.cpp files that aren't part of my source?
"compiling with Intel C++ Compiler XE 12.1.4.325 (IA-32)...(Intel C++ Environment
39442.cpp
39442.cpp
39442.cpp
...
"
The numbers change with different files.
What are these numbered.cpp files that aren't part of my source?
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think this is what's happening...
The Intel compiler doesn't support #import. So every time it sees #import in your source file it creates a temporary file and then feeds it to the Microsoft compiler to process. These temporary files are what your are seeing being compiled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How then should I bring in COM .tlb files? Or should I just leave it as is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is just the way it is, I was just trying to explain why you are seeing the numbered files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok. Thanks. I'll keep things the same then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Christopher Pisz
How then should I bring in COM .tlb files?..
Create a simple project in a Visual Studiowith all '#import' directives you needand compile it with Microsoft C++ compiler.
It will create all COM-wrappers, that is *.h and *.cpp files. Save these files, add toyour project,and compile sources
with Intel C++ compiler. However you should comment or '#ifdef' all'#import' directives.
I used that trick to create *.h and *.cpp COM-wrappers for MapPoint 2009 and used them without '#import' directives in
a different ptoject.
Best regards,
Sergey
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page