range-for and while example
compiler warnings