Fix Issue 4374 - Required do-while ending semicolon

Deprecation -> Error