| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/2] Compile errors with gcc 4.8
 On Thu, 7 Feb 2013, Keir Fraser wrote: On 07/02/2013 09:57, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:Actually, I'm of the opposite opinion - it should be in other places too that handles don't get needlessly defined by the public headers. They should get defined only when there actually is a use for them. Everything else can be defined where actually consumed, as in this case: For one, a handle of a compat_* type can't be defined in a public header anyway, as the compat types don't get defined there. And then, as you say, the oddity of this type makes it desirable to scope restrict it as much as possible. Now, for the actual solution, I'd prefer the -Wno-... Option+1. It's not a compiler warning that I care about. -- Keir 
I am attaching a patch that turns off this check.
        Michael YoungAttachment:
gcc48.build.1.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |