Opened 16 years ago
Closed 16 years ago
#4165 closed defect (fixed)
patches to be able to build mythtv/mythplugins with gcc-4.3
Reported by: | Owned by: | Janne Grunau | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
my current patchkit for gcc-4.3, mostly adding missing includes
Attachments (2)
Change History (11)
Changed 16 years ago by
Attachment: | mythtv-gcc43.dif added |
---|
comment:1 Changed 16 years ago by
Milestone: | unknown → 0.21 |
---|---|
Owner: | changed from Isaac Richards to Janne Grunau |
Status: | new → assigned |
Version: | unknown → head |
comment:2 Changed 16 years ago by
comment:3 Changed 16 years ago by
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 16 years ago by
I haven't applied the configure change (s/-mcpu=/-mtune=/) and the change to libs/libmythupnp/upnputil.h.
I would like to handle the first differently.
And the second looks like adding a workaround to a workaround. Can you please test whether including <sys/types.h> in upnputil.h and changing suseconds_t to suseconds_t fixes compilation too?
comment:6 Changed 16 years ago by
thanks for taking this up so quickly.
yes, I'll try including <sys/types.h> in upnputil.h.
comment:7 Changed 16 years ago by
Resolution: | fixed |
---|---|
Status: | closed → new |
just found two new ones and one older one not reported yet:
the old one: libs/libmyth/mythconfiggroups.cpp needs to include <algorithm> for "find"
the two recent ones: mythplugins/mythmusic/mythmusic/main.cpp needs to include stdlib.h for "getenv"
mythtv/libs/libmythtv/filtermanager.cpp needs to include stdlib.h for "free"
and yes, including <sys/types.h> in upnputil.h does definitely work.
patch collection for mythtv