ACE_TAO icon indicating copy to clipboard operation
ACE_TAO copied to clipboard

GNU make 4.4 complains about rules.

Open jwillemsen opened this issue 1 year ago • 2 comments

With GNU make 4.4 we get the following warning a lot when compiling ACE/TAO

/home/johnny/ACE/trunk/ACE/include/makeinclude/rules.local.GNU:294: warning: pattern recipe did not update peer target '/home/johnny/ACE/trunk/ACE/man/mann/libACE.so.7.0.10'.
GNU Make 4.4
Built for x86_64-suse-linux-gnu
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

jwillemsen avatar Nov 30 '22 15:11 jwillemsen

Good opportunity to refactor this chunk of the makefile and clean it up. I think it's simple enough to put the "recipe" part into a variable and make separate rules for the various patterns.

https://stackoverflow.com/questions/74449959/makefile-warning-pattern-recipe-did-not-update-peer-target

mitza-oci avatar Nov 30 '22 15:11 mitza-oci

Tried the suggestion from stack overflow but that didn't work, testing #2225

jwillemsen avatar Apr 24 '24 07:04 jwillemsen