Re: [vdr] Small fix for GCC 4.6 issue

2011-05-15 Thread Klaus Schmidinger
On 14.05.2011 13:06, Tobi wrote: On 13.05.2011 23:47, Udo Richter wrote: Am 13.05.2011 07:44, schrieb Tobi: Interestingly irritating... Since I don't have an GCC4.6 at hand, I *think* the source of the problem might be that cCursesFont has just an default constructor. Right. The C++

Re: [vdr] Small fix for GCC 4.6 issue

2011-05-15 Thread Udo Richter
Am 15.05.2011 23:45, schrieb Klaus Schmidinger: On 14.05.2011 13:06, Tobi wrote: Right. The C++ standard explicitly requires an user-declared default constructor here. So it should also work if you add an empty constructor cCursesFont::cCursesFont() { } ??? Yes. Either this or

Re: [vdr] Small fix for GCC 4.6 issue

2011-05-14 Thread Tobi
On 13.05.2011 23:47, Udo Richter wrote: Am 13.05.2011 07:44, schrieb Tobi: Interestingly irritating... Since I don't have an GCC4.6 at hand, I *think* the source of the problem might be that cCursesFont has just an default constructor. Right. The C++ standard explicitly requires an

Re: [vdr] Small fix for GCC 4.6 issue

2011-05-13 Thread Udo Richter
Am 13.05.2011 07:44, schrieb Tobi: 8.5/9 of the C++ standard says If no initializer is specified for an object, and the object is of (possibly cv-qualified) nonPOD class type (or array thereof), the object shall be default-initialized; if the object is of const-qualified type, the