RTEMS | testsuites/psxtests: Added API header OK tests for Posix 8 (6fdd270d)
mazen Adel (@mez3n)
gitlab at rtems.org
Thu Jun 5 15:45:03 UTC 2025
mazen Adel commented on a discussion on testsuites/psxtests/psxhdrs/pthread/pthread_mutex_clocklock.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/6fdd270df93f7a20b05f9ca7b6e0962ed5ceec31#note_123155
> + * 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 _GNU_SOURCE
In `newlib/libc/include/pthread.h` `__GNU_VISIBLE` was used as the guard for every function in posix issue8 which is enabled by `_GNU_SOURCE`.
Should I make a PR for this too to use `#if __POSIX_VISIBLE >= 202405` in newlib ?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/6fdd270df93f7a20b05f9ca7b6e0962ed5ceec31#note_123155
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250605/b98b1d38/attachment.htm>
More information about the bugs
mailing list