ceylondoc #1867 fix line number in warnings