Fix test failure on Windows.
[JENKINS-11799] Classify warnings by gcc 4.6 or later.
[FIXED JENKINS-11799] improve warning category for gcc 4.6 or later.