[sr-dev] git:sr_3.0: lcr: compile & warning fixes for gcc 2.95