[mythtv] #undef __STRICT_ANSI__

freedenizen freedenizen at gmail.com
Sun Sep 5 18:06:26 UTC 2010


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.

I guess my question/comment is what should I be looking for as the
cause of this, is there a miss configuration in my kernel somewhere (I
see this issue on 2 machines, both running gentoo, but different
kernels), or an issue with gcc (running gcc 4.3.4).  I keep up on the
commits list, and I don't remember seeing anything mentioning this,
but I could have missed it.  Will adding #undef __STRICT_ANSI__ cause
other issues going forward?

TIA


More information about the mythtv-dev mailing list