On Mon, Jan 08, 2018 at 09:16:57AM -0700, Sebastian Kuzminsky wrote: > On 01/07/2018 01:25 PM, Nicklas Karlsson wrote: > > Found this in the file "hostmot2.h" and they live in "<stdint.h" > > That's true when building for uspace, but when building for RTAI kernel > space of course /usr/include isn't accessible.
.. it would be totally appropriate to add these in the rtapi_stdint.h header, IMO. .. though on a current system, the "stdint.h" header is available even in the presence of "-ffreestanding", and provides identifiers like INT32_MAX, so maybe we should check whether compilers that *don't* support "stdint.h" when freestanding have fallen off the end of our architecture support, in which case we can simplify this. In C99, a "conforming freestanding implementation shall accept" programs that use <stdint.h>. Of course, I didn't check what is *actually* available when building kernel modules, since I don't have any RTAI systems handy. Jeff ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users