Welcome to the Intel C++ forum!

Welcome to the Intel C++ forum!

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

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I got this from Steve from the Fortran forum. This is valid here as well.
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
"

Hi!

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

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

Thanks for ur Invitation.
How to declare the function in LINUX C++ compiler

Define your functions in a .h file and include this file into your source code.

sample program: smaple.c
sample include sample.h

#include
#include

This will work and avoid error messages.
Peter

Leave a Comment

Please sign in to add a comment. Not a member? Join today