Is there a list of compiler glitches /bad coding practice
maintained somewhere? I recently switched compilers and ran
into more trouble than expected.
The following code snippet explains the idea:
--snip
select case (problem)
! Add special cases later
case default
call works_always_but_slow
end select
--snip
Whereas the first compiler accepted it without warnings
in strict f90 mode, the second one failed.
I don't want to bitch about this or that vendor, I want to
learn about good&safe coding practice.
Thanks.
Klaus
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|