Fix warnings automatic

Forked and removed compiler warnings flag.