hdr use and -Wall