Turned on Werror
Merge branch 'warnings' into Werror
Merge branch 'warnings' into Werror

Conflicts:
	SetFlags.cmake
Merge branch 'warnings' into Werror
Turned off Wunused-parameter
Merge branch 'warnings' into Werror
Merge branch 'warnings' into Werror
Enabled loads of clang warnings
Merge branch 'warnings' into Werror
Lots more warnings
Fixed gcc error
Fix gcc error attempt 2
Unsigned types take 3
Take 4
Take 5
Its a const not a macro
Globals.h is now warnings free again.
Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
Treat enum missmatches as warnings for now as there is such a large number of them.
Only enable -Werror in gcc because gcc doesn't let you suppress enum missmatch warnings
Fix IsThread destructor