[mythtv] #undef __STRICT_ANSI__

Janne Grunau janne-mythtv at grunau.be
Sat Sep 11 15:13:10 UTC 2010


On Sun, Sep 05, 2010 at 11:06:26AM -0700, freedenizen wrote:
> Not sure if this should goto the user list or the dev list, but I
> think it belongs here.
> Trying to compile trunk lately (I had previously been running trunk
> from a month ago) I found myself getting a lot of "error: ‘__u64’ does
> not name a type" errors referencing various kernel header files.  I am
> guessing/assuming that the problem is the kernel I am using, and I
> have been working around the problem by adding " #undef
> __STRICT_ANSI__ " to many files.

That's a "solution" which shouldn't go into svn, I've removed the C++
option -std=c++98 for now. It caused more trouble than it's worth.

Janne


More information about the mythtv-dev mailing list