scopehal-apps icon indicating copy to clipboard operation
scopehal-apps copied to clipboard

Constant yaml-cpp "Defining YAML_CPP_API for DLL import" spam in windows build when compiling every file

Open azonenberg opened this issue 5 months ago • 6 comments

This clogs build logs and makes it almost impossible to figure out what's going on. Is there a way to suppress this message?

azonenberg avatar Sep 12 '25 13:09 azonenberg

I looked into this and could not find an obvious way to do so.

d235j avatar Sep 12 '25 14:09 d235j

I looked into this and could not find an obvious way to do so.

That's about what I was afraid of. I'll raise the issue upstream.

azonenberg avatar Sep 12 '25 15:09 azonenberg

https://github.com/jbeder/yaml-cpp/issues/1369

azonenberg avatar Sep 12 '25 15:09 azonenberg

Seems like upstream has this already fixed? Commit https://github.com/jbeder/yaml-cpp/commit/47cd2725d61e54719933b83ea51c64ad60c24066 seems to have removed these spammy lines

Probably wasn't picked up by mingw because there was no release since 2023 of yaml-cpp

helaslo avatar Sep 23 '25 22:09 helaslo

Fixed via msys2/MINGW-packages#26268

Forced a workflow on my ngscopeclient fork repo, spam seems to be gone

Also note: Library seems like is mostly abandoned by upstream (at least they haven't responded the request for a new tagged release for a while, and the latest tagged version doesn't even build on modern compilers anymore, but master does), just to keep that in mind

helaslo avatar Nov 06 '25 22:11 helaslo

Some active/maintained software packages don't make releases all that frequently; fftw is another one of those :(

d235j avatar Nov 06 '25 23:11 d235j