<div dir="ltr">Hi<div><br></div><div>With more POSIX enabled by default, the RTEMS_POSIX_API flag has changed meanings and this has broken the meaning of checking for POSIX in rtems_waf. The rtems-examples use code like this which now turns off all POSIX examples because POSIX signals are disabled.<br><br>    if rtems.check_posix(bld):<br>        bld.recurse('posix_hello_world')<br>        bld.recurse('both_hello')<br><br></div><div><br></div><div>I suspect rtems_check_posix() should always return true now and another method named rtems_check_posix_signals() should be added based on the flag.</div><div><br></div><div>Similarly, RTEMS_POSIX_API should probably always be set and another macro provided for POSIX signals.</div><div><br></div><div>The meaning changed without considering the impact. We need to account for this.</div><div><br></div><div>I think this was also present in 5 but I am not sure how to deal with it there. My proposed change may be too much for the feature macro.</div><div><br></div><div>--joel</div></div>