Fix warnings

please note that I only fixed the auto_ptr warning in file that are compiled, but there are several other occurrences of auto_ptr which should be addressed.

Merge request reports

Loading