Whamcloud - gitweb
LU-4107 build: fix lustre_user.h to C++ compatible 33/8033/5
authorMinh Diep <minh.diep@intel.com>
Fri, 18 Oct 2013 20:12:52 +0000 (13:12 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 2 Nov 2013 21:52:43 +0000 (21:52 +0000)
commitb40f6327bb19b682bb920cee5d33055fe5f3e20f
tree687557f566b06538808275624a39bfb7f139af01
parent273019eca653f93fa091493691de944c1058631d
LU-4107 build: fix lustre_user.h to C++ compatible

Fix anonymous union.
Fix warnings
Workaround offsetof due to a bug in g++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14932

Signed-off-by: Minh Diep <minh.diep@intel.com>
Change-Id: I4c1b8165ab012f4226aabb60009b48063669e271
Reviewed-on: http://review.whamcloud.com/8033
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_user.h