Fix C++ enum deserialization
authorMark Slee <mcslee@apache.org>
Thu, 9 Aug 2007 03:39:18 +0000 (03:39 +0000)
committerMark Slee <mcslee@apache.org>
Thu, 9 Aug 2007 03:39:18 +0000 (03:39 +0000)
commit7e2cda13166e5cc27f37c55647b4070f5df178a5
treec168d2e319515d1eb10921632963d61a3cc3f3a3
parent7897c927b23554daf862ac7c5eca1d4f369a292d
Fix C++ enum deserialization

Summary: Because we're all about strict aliasing rules in the g++, m'holmbie.

Reviewed By: aditya

Test Plan: Should be NO compiler warnings about (enum&) -> (int32_t&) typecasting

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665196 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc