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

Source Editor Problem and VS message Issues

dannycat
New Contributor I
617 Views
Yesterday I updated to latest version of compiler 12.1.3.300 and am running VS2010 on a 64-bit XP OS and have noticed something which used to work but doesn't anymore.

If I want to select a block of code to comment out using the VS feature,VS now always comments out the line following the selected region in addition to the selected lines. I'm sure it didn't used to do this.

The other issues concern compliation. Oneof thesehas been mentioned before but I've not found a decent explanation as to what's causing it, or better still a fix.

During the compilation of a project VS sometimes starts to display

"Error: The operation could not be completed" messages in the output window.

It seems that when this message is displayed the compiler does not compile the file it was expecting to and consequently the project becomes inconsistent in terms of maturity of object files. Sometimes these will still link ok but if a module has been changed there could be misalignments in data etc within the executable.

Sometimes if you try to explicity compile a file the same message appears in the separate message box and the only solution I knowto either of these situationsis to close down VS and reload project.

I believe it is not a compiler generated error which suggets to me that it is a problem with the integration of the Intel compiler into VS.

Upon completion the compiler and linker will still display that there are 0 errors even though not all the files have been complied correctly.

Is it possible to make the compilation of a project stop if an actual compilation error is encountered? This does notseem to happen at the moment.

This is getting quite frustrating from a users point of view so any better workrounds/advice would be much appreciated.

Thanks.
0 Kudos
2 Replies
IanH
Honored Contributor III
617 Views
Quoting dannycat
Yesterday I updated to latest version of compiler 12.1.3.300 and am running VS2010 on a 64-bit XP OS and have noticed something which used to work but doesn't anymore.

If I want to select a block of code to comment out using the VS feature,VS now always comments out the line following the selected region in addition to the selected lines. I'm sure it didn't used to do this.

It didn't do this in Fortran files for previous VS versions, and VS2010 doesn't do this for other languages. This drove me batty for the first few weeks - "unterminated block" errors were de rigueur.

The location of the comment symbol has also changed - previously the ! was placed in column one. I can accept that this is down to user preference but it would be nice if it was customisable.

The "Error: The operation could not be completed" messages have always been a mystery to me but they predate VS2010 and ifort 12 by many years.
0 Kudos
Les_Neilson
Valued Contributor II
617 Views

"The "Error: The operation could not be completed" messages have always been a mystery to me but they predate VS2010 and ifort 12 by many years"

The times I have seen this message have all been related to either resource rc.exe or manifest mt.exe - reason unknown. The resulting exe from the buildwouldn't run so I would have to do a rebuild.
Just one of those things sent to try us.

Les

0 Kudos
Reply