Opened 18 years ago
Closed 18 years ago
#5778 closed defect (wontfix)
#define for values in C++ in libmythdb
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | trivial | Milestone: | unknown |
| Component: | mythtv | Version: | head |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Using #define in C++ defeats the strict type checking the language provides when used with values. Replacing those macros with const values would provide that type checking.
Attachments (1)
Change History (2)
by , 18 years ago
| Attachment: | libs_libmythdb-krazy2-replace-define.patch added |
|---|
comment:1 by , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
really? :) There is actually a reason for all those defines, mostly that they are outside code that we've imported into MythTV and don't want to diverge too far from upstream.
Note:
See TracTickets
for help on using tickets.

Replaces #define values with const values in libmythdb