added more pedantic compiler warnings for release builds