The code shown here is the minimum that can reproduce the problem. The original system is much larger.
I'm in trouble because I updated from Xcode13 to Xcode14 and it behaved differently than before.
Post
Replies
Boosts
Views
Activity
The purpose is to temporarily replace the part that is output to the standard output with another logic.
In actual processing, printf, fprintf, etc. are also replaced in addition to the puts function.
But this error does not occur even if there are printf, fprintf, fputs, but if there is a puts function, this error will occur.