yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Add missing iostream header

Open rurban opened this issue 1 year ago • 4 comments

rurban avatar May 27 '24 10:05 rurban

Why?

jbeder avatar May 27 '24 13:05 jbeder

Try with gcc 14

Jesse Beder @.***> schrieb am Mo., 27. Mai 2024, 16:33:

Why?

— Reply to this email directly, view it on GitHub https://github.com/jbeder/yaml-cpp/pull/1283#issuecomment-2133478712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAKGUKKEFYIIXKD75S26O3ZEMXTHAVCNFSM6AAAAABIK4L4SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGQ3TQNZRGI . You are receiving this because you authored the thread.Message ID: @.***>

rurban avatar May 27 '24 14:05 rurban

It's customary to do things like post the exact error message.

jbeder avatar May 27 '24 16:05 jbeder

Ok, this has to be reworked. It fails on my ubuntu 24.04 clang-tidy with missing iostream:

/usr/local/include/yaml-cpp/parser.h:10:10: error: 'iostream' file not found [clang-diagnostic-error]
   10 | #include <iostream>

but my fedora core 40 with gcc 14 warns about a missing iostream header. will check there

rurban avatar Jun 03 '24 11:06 rurban