- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I welcome you to the Intel C++ compiler discussion forum.
You will be interested in this forum if you are a C++ developer.
I welcome users of C++ Compilers onMicrosoft Windows, Linux or Mac OS to this forum. But then again many C++ language issues transcend the OS and I would most certainly welcome discussion on this.
Please note that we still recommend the Intel Premier Support website for submitting and tracking specific issues.
Cheers!
Ganesh
Message Edited by grao on 01-28-2004 05:02 PM
Message Edited by grao on 04-06-2006 04:25 PM
Message Edited by grao on 04-06-2006 04:29 PM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here goes
"When you first visit the forum, you appear as "Guest", even if you have logged in. The forum does not recognize you as having logged in, however, until you click on Reply or New Post.
The forum will keep your session logged in for about eight hours, after which you will have to log in again the next time you post.
Steve
"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am looking for a utility that would create a dependency diagram for C++ header files from a source tree, or something similar to resolve the header file dependency problems that slows the compiling time down.
If you have any lead on this, I would appreciate!
Regards
Michel Delafontaine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Windows (but not on Mac OS* X or Linux*), there is an option
/showincludes
Tells the compiler to display a list of the include files. Nested include files (files that are included from the files that you include) are also displayed.
c:icl -showIncludes test.cpp
Intel C++ Compiler for 32-bit applications, Version 9.1 Build 20061103Z
Copyright (C) 1985-2006 Intel Corporation. All rights reserved.
test.cpp
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEstdio.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEcrtdefs.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEsal.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEvadefs.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEswprintf.inl
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEvadefs.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEmath.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEcrtdefs.h
Note: including file: C:Program FilesIntelCompilerC++9.1Ia32Includeemmintrin.h
Note: including file: C:Program FilesIntelCompilerC++9.1Ia32Includexmmintrin.h
Note: including file: C:Program FilesIntelCompilerC++9.1Ia32Includemmintrin.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEmalloc.h
Note: including file: C:Program FilesMicrosoft Visual Studio 8VCINCLUDEcrtdefs.h
Microsoft Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
-out:test.exe
test.obj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to declare the function in LINUX C++ compiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sample program: smaple.c
sample include sample.h
#include
#include
This will work and avoid error messages.
Peter

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page