Hi Moritz

> On 26 Aug 2026, at 10:15, Moritz Hoffmann <[email protected]> wrote:
> 
> ## What works
> 
> Plain compiler option on the link line of the one target that emits the
> warnings. In our tree all 61 (resp. 67) come from the single `librexx.so` LTO
> link, so this is enough, and no other target loses the diagnostic:
> 
> ```cmake
> # after target_link_libraries(rexx ...) at CMakeLists.txt:981
> if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
>   target_link_options (rexx PRIVATE -Wno-stringop-overflow)
> endif ()
> 


Tested OK on WSL Ubuntu 22.04.5 LTS with GCC 11.4.0.
I committed the code snippet above.
Thanks for your help!




_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to