Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 Discussions

Compiler warnings with VC DLL example

pecan204
Beginner
765 Views
I ran the VC dll example below and I get some compiler warnings. Can anyone point me to where to correct them?

Thanks

http://h18009.www1.hp.com/fortran/examples/vc-example1.html

The warnings:
command line warning D4007 : '/Gm' requires '/Zi'; option ignored
Command line warning D4002 : ignoring unknown option '/ZI'
Command line warning D4002 : ignoring unknown option '/GZ'
0 Kudos
3 Replies
Steven_L_Intel1
Employee
765 Views
Those warnings are coming from Visual C, and since there's nothing in the example page specifying C compiler switches, I'm not sure what it is you're doing to get these warnings.

Steve
0 Kudos
pecan204
Beginner
765 Views
I zipped up the VF calling C files. It has the same errors.

Will that help to figure it out?

Thanks
0 Kudos
Steven_L_Intel1
Employee
765 Views
Builds fine for me. I wonder if you have Visual C++.NET folders in your CVF Directories..Executable Files paths.

Steve
0 Kudos
Reply