public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument
@ 2024-05-13 20:28 Detlef Riekenberg via ltp
  0 siblings, 0 replies; 7+ messages in thread
From: Detlef Riekenberg via ltp @ 2024-05-13 20:28 UTC (permalink / raw)
  To: ltp


The Open Posix testsuite calls the compiler with the old
gcc commandline argument "-W", but that breaks other compiler

This patch renames the old "-W" to the more common "-Wextra"
(as suggested by LTP mailing list members).


Reference:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

gcc 3.4 renamed "-W" to "-Wextra" in 2004:
https://gcc.gnu.org/gcc-3.4/changes.html

--
Regards ... Detlef

Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
---
 testcases/open_posix_testsuite/include/mk/config.mk.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument
@ 2024-05-13 20:47 Detlef Riekenberg via ltp
  2024-05-14  8:25 ` Cyril Hrubis
  2024-05-14 18:59 ` Petr Vorel
  0 siblings, 2 replies; 7+ messages in thread
From: Detlef Riekenberg via ltp @ 2024-05-13 20:47 UTC (permalink / raw)
  To: LTP; +Cc: Joerg Vehlow

The Open Posix testsuite calls the compiler with the old
gcc commandline argument "-W", but that breaks other compiler

This patch renames the old "-W" to "-Wextra" (as suggested by LTP mailing list members)

Reference:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

gcc 3.4 renamed "-W" to "-Wextra" in 2004:
https://gcc.gnu.org/gcc-3.4/changes.html

--
Regards ... Detlef

Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
---
 testcases/open_posix_testsuite/include/mk/config.mk.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/open_posix_testsuite/include/mk/config.mk.in b/testcases/open_posix_testsuite/include/mk/config.mk.in
index c9a4b5c5a..20422e0f1 100644
--- a/testcases/open_posix_testsuite/include/mk/config.mk.in
+++ b/testcases/open_posix_testsuite/include/mk/config.mk.in
@@ -14,4 +14,4 @@ testdir_rel := @testdir@
 testdir     := ${prefix}/${testdir_rel}
 testdir_bin := ${testdir}/bin

-CFLAGS  += -std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -W -Wall
+CFLAGS  += -std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -Wall -Wextra
--
2.40.1



-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument
  2024-05-13 20:47 [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument Detlef Riekenberg via ltp
@ 2024-05-14  8:25 ` Cyril Hrubis
  2024-05-14 12:15   ` Petr Vorel
  2024-05-14 18:59 ` Petr Vorel
  1 sibling, 1 reply; 7+ messages in thread
From: Cyril Hrubis @ 2024-05-14  8:25 UTC (permalink / raw)
  To: Detlef Riekenberg; +Cc: Joerg Vehlow, LTP

Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument
  2024-05-14  8:25 ` Cyril Hrubis
@ 2024-05-14 12:15   ` Petr Vorel
  2024-05-14 13:02     ` Joerg Vehlow
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2024-05-14 12:15 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: Detlef Riekenberg, Joerg Vehlow, LTP

Hi all,

Reviewed-by: Petr Vorel <pvorel@suse.cz>

@Joerg I plan to merge this, can I add your Reviewed-by tag?

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument
  2024-05-14 12:15   ` Petr Vorel
@ 2024-05-14 13:02     ` Joerg Vehlow
  0 siblings, 0 replies; 7+ messages in thread
From: Joerg Vehlow @ 2024-05-14 13:02 UTC (permalink / raw)
  To: Petr Vorel, Cyril Hrubis; +Cc: Detlef Riekenberg, Joerg Vehlow, LTP

Hi,

Am 5/14/2024 um 2:15 PM schrieb Petr Vorel:
> Hi all,
> 
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> 
> @Joerg I plan to merge this, can I add your Reviewed-by tag?
Sure:
Reviewed-by: Joerg Vehlow <joerg.vehlow@aox.de>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument
  2024-05-13 20:47 [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument Detlef Riekenberg via ltp
  2024-05-14  8:25 ` Cyril Hrubis
@ 2024-05-14 18:59 ` Petr Vorel
       [not found]   ` <trinity-41dc0eb8-c7cf-4f51-9e88-2b2daa5bd204-1715766325023@msvc-mesg-web002>
  1 sibling, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2024-05-14 18:59 UTC (permalink / raw)
  To: Detlef Riekenberg; +Cc: Joerg Vehlow, LTP

Hi all,

thanks for your time, merged.

@Detlef FYI added your Signed-off-by: tag, Cyril's Suggested-by: tag
and Fixes: tag.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] open_posix_testsuite: Replace old -W commandline argument
       [not found]   ` <trinity-41dc0eb8-c7cf-4f51-9e88-2b2daa5bd204-1715766325023@msvc-mesg-web002>
@ 2024-05-15  9:51     ` Petr Vorel
  0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2024-05-15  9:51 UTC (permalink / raw)
  To: Detlef Riekenberg; +Cc: Joerg Vehlow, LTP

Hi,

>    Thanks all for your help and patience with a LTP newbie.

yw :).

>    Now, OpenWatcom (with my patched owcc frontend) passes >1100 tests
>    and more work on the OpenWatcom POSIX runtime can be done

Always interested to see who is using LTP.

>    (a big OW issue: "aio.h" and the related implementation is missing)

glibc and musl IMHO support aio.h unconditionally.  If you're using uclibc or
uclibc-ng, you need UCLIBC_HAS_REALTIME [1]. But below you mentioned glibc.

Kind regards,
Petr

[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/extra/Configs/Config.in#n1166

>    ---
>    Testing with another Compiler on my system:
>    Using the Open Posix Testsuite with TinyC and the system installed glibc
>    gives one failed test.
>    This is the same result as using gcc.

>    -----
>    When someone has a working setup for "git-send-email" with "[1]web.de",
>    please let me know.
>    (I tried git-imap-send as fallback, but that only creates the draft mail.
>    A web login into the [2]web.de mail interface
>    with editing the draft mail and manually sending the patch
>    is needed afterwards)

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-15  9:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-13 20:47 [LTP] [PATCH] open_posix_testsuite: Replace old -W commandline argument Detlef Riekenberg via ltp
2024-05-14  8:25 ` Cyril Hrubis
2024-05-14 12:15   ` Petr Vorel
2024-05-14 13:02     ` Joerg Vehlow
2024-05-14 18:59 ` Petr Vorel
     [not found]   ` <trinity-41dc0eb8-c7cf-4f51-9e88-2b2daa5bd204-1715766325023@msvc-mesg-web002>
2024-05-15  9:51     ` [LTP] " Petr Vorel
  -- strict thread matches above, loose matches on Subject: below --
2024-05-13 20:28 [LTP] [PATCH] " Detlef Riekenberg via ltp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox