RTEMS | testsuites/psxtests: Added API header OK tests for Posix 8 (6fdd270d)

mazen Adel (@mez3n) gitlab at rtems.org
Tue Jun 10 18:44:29 UTC 2025




mazen Adel commented on a discussion on testsuites/psxtests/psxhdrs/time/timspec_get.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/6fdd270df93f7a20b05f9ca7b6e0962ed5ceec31#note_123396

 > + *    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 __STDC_VERSION__ 201112L

I looked into it again and In my PR is used this guard `__STDC_VERSION__ >= 201112L` and using `#define _POSIX_C_SOURCE 202405L` won't include this function so should I leave it like this or update my patch file in newlib to use `#if __POSIX_VISIBLE >= 202405` instead ?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/6fdd270df93f7a20b05f9ca7b6e0962ed5ceec31#note_123396
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/20250610/117b3b49/attachment-0001.htm>


More information about the bugs mailing list