This warning appears in several places in file. Actually warnings appear in some inline functions implemented in core module, so local pragmas for separate functions does not solve the problem.