code review: compiler fix for issue 29,55,134,166,201,205,208

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_printerfix_staging@967 eaa15691-b419-025a-1212-ee371bd00084
8 files changed