Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
1 View

warning for & in quotes

intel fortran 17.1   Compiling with Intel(R) Visual Fortran Compiler 17.0.1.143 [IA-32]...

gives a warning for & inside single quotes:

as in: if(string(i:i1).eq.'&&') then

G:\HSE_house\acsys\v6.2\src\solutions\acsys\acsyslib.f90(11276): warning #5152: Invalid use of '&'. Not followed by comment or end of line

G:\HSE_house\acsys\v6.2\src\solutions\acsys\acsyslib.f90(12236): warning #5152: Invalid use of '&'. Not followed by comment or end of line

thanks,

scott

 

 

0 Kudos
2 Replies
Highlighted
Valued Contributor II
1 View

Yes that failes for me too on

Yes that failes for me too on 17/1, it compiles OK on 16.0.3.207 [IA-32] so a regression bug in 17 I think.

0 Kudos
Highlighted
Employee
1 View

Thank you for reporting this.

Thank you for reporting this. I escalated it to Development. The warning is not issued with our newest development compiler so a fix may be in the works. If it becomes a real nuisance it is silence-able with:  /Qdiag-disable:5152

(Internal tracking id: DPD200416829)

0 Kudos