Joel Sherrill commented on a discussion on testsuites/psxtests/psxhdrs/poll/ppoll.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/6fdd270df93f7a20b05f9ca7b6e0962ed5ceec31#note_123417 > + * documentation and/or other materials provided with the distribution. > + * > + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS > IS" > + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE > + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR > PURPOSE > + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE > + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR > + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF > + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS > + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN > + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > THE > + * POSSIBILITY OF SUCH DAMAGE. > + */ > + > +#define __POSIX_VISIBLE 202405 FYI __POSIX_VISIBLE is an internal newlib macro. You correctly found _POSIX_C_SOURCE. There is a good discussion of the feature macros in the [glibc](https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html) manual but the version there does include the Issue 8 (2024) value of _POSIX_C_SOURCE is defined [here](https://pubs.opengroup.org/onlinepubs/9799919799/xrat/V4_xsh_chap01.html) to be 202405L like you have. For the methods that are new in Issue 8, define that before any includes in the new psxhdr test files. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/6fdd270df93f7a20b05f9ca7b6e0962ed5ceec31#note_123417 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs