disable warnings about constant addresses in gcc 4.6 and later