Skip to content

Fixing compile issues in Linux, adding CMake#1

Open
dmikushin wants to merge 6 commits intommorearty:masterfrom
dmikushin:master
Open

Fixing compile issues in Linux, adding CMake#1
dmikushin wants to merge 6 commits intommorearty:masterfrom
dmikushin:master

Conversation

@dmikushin
Copy link
Copy Markdown

Hi @mmorearty ,

Thank you for publishing a very useful streamprintf library! It's amazingly handy when one needs to quickly redirect printf() in legacy code for internal processing.

I would like to offer some simple fixes to use your library in modern times. The most significant issue is that 'long' and 'int' are usually same only in Windows. Other fixes silence some GCC warnings. Finally, I add CMake file to 'include' your library into software builds managed by CMake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant