Opened 14 years ago

Closed 14 years ago

#7808 closed defect (fixed)

Commit 23009 breaks compilation

Reported by: pebender@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The header file programs/mythfrontend/programinfocache.h needs to include <cstdint> because the ProgramInfoCache? class depends on the definition of uint64_t found in <stdint.h>.

In addition, the header file programs/mythfrontend/programinfocache.h should check and define PROGRAMINFOCACHE_H so that the contents of the file is included only once.

By the way, does myth have a convention for the header include define? They appear to follow different naming conventions in different header files.

Attachments (1)

mythtv-trunk-commit_23009_fix.patch (650 bytes) - added by pebender@… 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by pebender@…

comment:1 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [23010]) Fixes #7808. Add header protection and include stdint.h; also adds vim format cfg, and copyright header to programinfocache.cpp.

Note: See TracTickets for help on using tickets.