Opened 6 years ago
Closed 6 years ago
#10537 closed Patch - Bug Fix (fixed)
Myth 0.25-rc gcc 4.7 patch
| Reported by: | mythtv@… | Owned by: | beirdo |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.24.3 |
| Component: | MythTV - General | Version: | Master Head |
| Severity: | low | Keywords: | gcc 4.7 |
| Cc: | Ticket locked: | no |
Description
Myth core code will not compile with gcc 4.7 without explicitly including a few system header files. The included ffmpeg also requires changes to compile. Patch for mythtv and mythplugins included.
Attachments (2)
Change History (13)
Changed 6 years ago by mythtv@…
Changed 6 years ago by mythtv@…
comment:1 Changed 6 years ago by beirdo
- Milestone changed from 0.25 to unknown
- Owner set to beirdo
- Status changed from new to assigned
comment:2 Changed 6 years ago by beirdo
I'll look at this shortly, but I think we'll put this in after release.
comment:4 Changed 6 years ago by hobbes1069@…
unistd.h may be the way to go but I know on another project I suggested a similar fix but someone who developed on windows said "sys/types.h" was more portable. YMMV.
comment:5 Changed 6 years ago by beirdo
- Milestone changed from unknown to 0.26
- Resolution set to Fixed
- Status changed from assigned to closed
Committed in 19a7e0131146d38bfe384da55fc4c16193f2b54e to master, all except the ffmpeg part.
comment:6 Changed 6 years ago by Kevon <mythtv@…>
comment:7 Changed 6 years ago by beirdo
- Milestone changed from 0.26 to 0.24.3
comment:8 Changed 6 years ago by Kevon <mythtv@…>
comment:9 Changed 6 years ago by beirdo
- Resolution Fixed deleted
- Status changed from closed to new
The ffmpeg portions will be looked at shortly.
comment:10 Changed 6 years ago by superm1@…
Glancing through ffmpeg's git, this is probably the commit that will fix the failed build with gcc-4.7:
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=da4c7cce2100a4e4f9276b4f17e260be47b53f41
comment:11 Changed 6 years ago by Kevon <mythtv@…>
- Resolution set to fixed
- Status changed from new to closed

Please don't set the milestone for tickets.