[core] Enforced strict warnings