The following code looks fine to me:
#include template struct A { static float m_kA[]; };
http://ideone.com/3ssVi
it compiles fine with G++.
As far as i can see it can be related to this bug:
http://connect.microsoft.com/VisualStudio/feedback/details/759407/can-not-get-size-of-static-array-defined-in-class-template