You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The header file $PS3DEV/host/ppu/ppu/include/limits.h provided by newlib defines PATH_MAX. However, gcc places the file $PS3DEV/host/ppu/lib/gcc/ppu/4.5.2/include-fixed/limits.h before it in the include path. This files does not define PATH_MAX. As a result, including <limits.h> does not provide PATH_MAX anymore.
The text was updated successfully, but these errors were encountered:
Hm, actually I think the problem is that $PS3DEV/host/ppu/ppu/include isn't part of the default include path (but $PS3DEV/host/ppu/include is), which means fixincludes doesn't realize that <limits.h> already exists. Why do we have both host/ppu and host/ppu/ppu (and why is it called "host" when it obviously holds includes and libs for the target)?
No wait, it's the other way around (I got confused by all the "..":s), ppu/ppu/include is in there by default (but after include-fixed), but not ppu/include. So I guess my theory about why fixincludes messed up is wrong. :-/ (Also, only limits.h is "fixed", if it didn't find the newlib headers I guess there would have been more of them.)
The header file $PS3DEV/host/ppu/ppu/include/limits.h provided by newlib defines PATH_MAX. However, gcc places the file $PS3DEV/host/ppu/lib/gcc/ppu/4.5.2/include-fixed/limits.h before it in the include path. This files does not define PATH_MAX. As a result, including <limits.h> does not provide PATH_MAX anymore.
The text was updated successfully, but these errors were encountered: