First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 216008
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Olivier Crete <tester@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mpeg4ip-1.5.0.1-gcc-4.3.patch Fix includes, stream usage, and array bounds for gcc-4.3 patch Martin Väth 2008-04-03 09:26 0000 7.90 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 216008 depends on: Show dependency tree
Bug 216008 blocks: 198121
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: 2008-04-03 09:17 0000
media-video/mpeg4ip-1.5.0.1-r4 fails to compile with gcc-4.3

------- Comment #1 From Martin Väth 2008-04-03 09:26:52 0000 -------
Created an attachment (id=148190) [details]
Fix includes, stream usage, and array bounds for gcc-4.3

Three types of errors were necessary to fix to compile with gcc-4.3:

1. For #include <iostream.h> (and similar things) the ".h" was removed.
2. "cout" and similar things were used without "std::"
3. gcc spits an "out of array bounds" warning which by -Werror was converted to
an error. Since I don't know how to avoid this warning, -Werror was removed
from a Makefile.ac

My fix for 2. was simply to add "using namespace std;" which is certainly not
the cleanest the solution, but works well and - hey, it's a patch!
Because of 3. it is necessary to apply the patch before "autoreconf".

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2008-05-07 21:12:48 0000 -------
Thanks for the patch, fixed.

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