added flag to disable unused-local-typedefs
Merge branch 'tickets/DM-869'