Fix compile errors and warnings on Linux

Change-Id: I058d12c2bf7cd7e82ab06815c46609d543b1f728
Merge topic '13872_sliceview_default' into next

0f0368d Fix compile errors and warnings on Linux