Why am I getting an error stating that I cannot mix old and new flags?

Follow