Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527162 - app-emulation/xen-tools-4.4.1-r1 - x86_32.h:42:23: error: expected ':', ',', ';', '}' or '__attribute__' before 'nr_pages'
Summary: app-emulation/xen-tools-4.4.1-r1 - x86_32.h:42:23: error: expected ':', ',', ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-27 22:58 UTC by Alex Xu (Hello71)
Modified: 2014-10-28 00:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,20.87 KB, text/plain)
2014-10-27 22:58 UTC, Alex Xu (Hello71)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2014-10-27 22:58:46 UTC
Created attachment 387602 [details]
build.log

probably has to do with gcc-4.8.

gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -Wdeclaration-after-statement -o checker checker.c
In file included from checker.c:14:0:
x86_32.h:42:23: error: expected ':', ',', ';', '}' or '__attribute__' before 'nr_pages'
     unsigned uint32_t nr_pages;     
                       ^
x86_32.h:72:23: error: expected ':', ',', ';', '}' or '__attribute__' before 'address'
     unsigned uint32_t address; 
                       ^
x86_32.h:104:23: error: expected ':', ',', ';', '}' or '__attribute__' before 'flags'
     unsigned uint32_t flags;                    
                       ^
x86_32.h:142:23: error: expected ':', ',', ';', '}' or '__attribute__' before 'cr2'
     unsigned uint32_t cr2;
                       ^
x86_32.h:172:23: error: expected ':', ',', ';', '}' or '__attribute__' before 'max_pfn'
     unsigned uint32_t max_pfn;                  
                       ^
In file included from checker.c:15:0:
x86_64.h:51:34: error: expected ':', ',', ';', '}' or '__attribute__' before 'nr_pages'
     unsigned __align8__ uint64_t nr_pages;     
                                  ^
x86_64.h:81:34: error: expected ':', ',', ';', '}' or '__attribute__' before 'address'
     unsigned __align8__ uint64_t address; 
                                  ^
x86_64.h:121:34: error: expected ':', ',', ';', '}' or '__attribute__' before 'flags'
     unsigned __align8__ uint64_t flags;                    
                                  ^
x86_64.h:159:34: error: expected ':', ',', ';', '}' or '__attribute__' before 'cr2'
     unsigned __align8__ uint64_t cr2;
                                  ^
x86_64.h:189:34: error: expected ':', ',', ';', '}' or '__attribute__' before 'max_pfn'
     unsigned __align8__ uint64_t max_pfn;                  
                                  ^
Comment 1 Alex Xu (Hello71) 2014-10-28 00:00:01 UTC
poorly written epatch_user.