HvD: The previous attempt to remove the trailing spaces failed in that it broke the Doxygen documentation. For some reason gfortran is paranoid about comment lines that end in "\\\\ \n" feeling the need to generate a warning for every "escaped" space. For some reason Python is does not seem be able to replace "\\ " with "\\" instead a replacement string that consists only of a backslash character triggers and error. However I can replace " \n" with "\n" which has the desired effect and gets gfortran to shut up without breaking anything else as far as I can tell at this moment.
HvD: The previous attempt to remove the trailing spaces failed in that it
broke the Doxygen documentation. For some reason gfortran is paranoid about
comment lines that end in "\\\\ \n" feeling the need to generate a warning
for every "escaped" space. For some reason Python is does not seem be able
to replace "\\ " with "\\" instead a replacement string that consists only
of a backslash character triggers and error. However I can replace " \n" with
"\n" which has the desired effect and gets gfortran to shut up without breaking
anything else as far as I can tell at this moment.





rangsimanketkaew/NWChem