K.C. Lee
2010-Oct-05 08:59 UTC
[Xen-devel] xen-x86_64.h:155: warning: data definition has no type or storage class
I use the following in my code and find the error message as title during compiling. #if defined(__i386__) #include "../arch-x86/xen-x86_32.h" #elif defined(__x86_64__) #include "../arch-x86/xen-x86_64.h" //KCL 2010/10/5 14:23: End #endif Can anyone help me? Thank you very much. Sincerely, K.C. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Oct-05 09:11 UTC
Re: [Xen-devel] xen-x86_64.h:155: warning: data definition has no type or storage class
Don''t include those files directly, but instead "../xen.h". K. On 05/10/2010 09:59, "K.C. Lee" <kcl.joseph@gmail.com> wrote:> I use the following in my code and find the error message as title during > compiling. > > #if defined(__i386__) > #include "../arch-x86/xen-x86_32.h" > #elif defined(__x86_64__) > #include "../arch-x86/xen-x86_64.h" > //KCL 2010/10/5 14:23: End > #endif > > Can anyone help me? > > Thank you very much. > > Sincerely, > > K.C. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel