[ https://issues.apache.org/jira/browse/PROTON-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188059#comment-16188059 ]
Andrew Stitcher commented on PROTON-1604: ----------------------------------------- Instead of blithely changing all "\n" character sequences it would make more sense to only replace the ones that actually need flushing. OR Probably better to just add std::flush in places where missing output is a problem. Also note that std::cerr flushes automatically in any case so doesn't need std::endl, only std::cout would need std::endl. > Windows C++ prefers std::endl to newlines > ----------------------------------------- > > Key: PROTON-1604 > URL: https://issues.apache.org/jira/browse/PROTON-1604 > Project: Qpid Proton > Issue Type: Bug > Components: cpp-binding > Affects Versions: proton-c-0.18.0 > Environment: Visual Studio > Reporter: Cliff Jansen > Assignee: Cliff Jansen > Fix For: proton-c-0.18.0 > > > Using C newline escaped char sequence can result in mysteriously missing > output. > Use std::endl instead of \\n. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org