First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 29523
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Holzer (RETIRED) <mholzer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michal Januszewski <spock@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bochs-2.0.2-brace.patch A patch that fixes the brace-enclosed initializer problem patch Michal Januszewski 2003-09-24 09:49 0000 2.15 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 29523 depends on: Show dependency tree
Bug 29523 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-24 09:45 0000
When trying to compile bochs with gcc-3.3.1, one gets the following errors:

fetchdecode.cc:165: error: brace-enclosed initializer used to initialize `void
   (*)(bxInstruction_c*)'
fetchdecode.cc:165: error: brace-enclosed initializer used to initialize `void
   (*)(bxInstruction_c*)'
[.. repeated a few times - for line 170, 175, ..]

The attached patch fixes this problem.

------- Comment #1 From Michal Januszewski 2003-09-24 09:49:32 0000 -------
Created an attachment (id=18268) [edit]
A patch that fixes the brace-enclosed initializer problem

Note that this will probably break bochs with gcc < 3.3.1. Some kind of gcc
version detection might be necessary to be included in the ebuild.

------- Comment #2 From Brandy Westcott (RETIRED) 2003-09-24 20:00:28 0000 -------
The patch works fine on my machine using both gcc-3.3.1 and gcc-3.2.3 
 
In fact, I don't think we can expect any surprises from it since the 
upstream cvs version has also removed the extra braces. 
( http://cvs.sourceforge.net/viewcvs.py/bochs/bochs/cpu/fetchdecode.cc ) 

------- Comment #3 From Martin Holzer (RETIRED) 2003-09-29 13:28:42 0000 -------
in cvs

First Last Prev Next    No search results available      Search page      Enter new bug