Developer Center |
Monday October 9, 2006
A new warning switch (-gnatw.o) causes modifications to variables via OUT parameters to be treated as assignments from the point of view of warning generation (warning when the assigned value is unreferenced or clobbered by another assignment). This warning is not included in -gnatwa because it seems common to have ignored out parameters, so if you want this warning activated, it must be done explicitly (e.g. using -gnatwa.o).
Posted
in Development Log, GNAT Compilation System