Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364231

Summary: games-emulation/dosbox-0.74 fails to build with gcc-4.6
Product: Gentoo Linux Reporter: Philipp <carlphilippreh>
Component: [OLD] GamesAssignee: Mr. Bones. (RETIRED) <mr_bones_>
Status: RESOLVED FIXED    
Severity: normal CC: games
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346809    
Attachments: Patch to fix the build

Description Philipp 2011-04-20 12:02:07 UTC
Created attachment 270645 [details]
Patch to fix the build

In file included from ../../include/programs.h:28:0,
                 from cpu.cpp:29:
../../include/dos_inc.h: In member function 'void DOS_MCB::SetFileName(const char*)':
../../include/dos_inc.h:543:78: error: expected primary-expression before ',' token
../../include/dos_inc.h:543:79: error: 'filename' was not declared in this scope
../../include/dos_inc.h:543:87: error: 'offsetof' was not declared in this scope
../../include/dos_inc.h: In member function 'void DOS_MCB::GetFileName(char*)':
../../include/dos_inc.h:544:71: error: expected primary-expression before ',' token
../../include/dos_inc.h:544:72: error: 'filename' was not declared in this scope
../../include/dos_inc.h:544:80: error: 'offsetof' was not declared in this scope

...
Comment 1 Tupone Alfredo gentoo-dev 2011-04-28 07:23:17 UTC
Fixed. Thanks for report