simon-git: spigot (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Wed Mar 25 18:20:50 GMT 2015
TL;DR:
6bf9809 Use tparm() if tiparm() isn't available.
e437660 Fix clang warning from passing string literals to tigetstr.
f973988 Fix a clang warning about switching on an enum.
Repository: git://git.tartarus.org/simon/spigot.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=spigot.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-03-25 18:20:50
commit 6bf9809505a5142503c2cd121ff1ac0635d83f55
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=6bf9809505a5142503c2cd121ff1ac0635d83f55;hp=59f3f0c3f00b109c9e9ecd4acc3959eb4c0ca7f6
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Mar 25 18:15:25 2015 +0000
Use tparm() if tiparm() isn't available.
This fixes a build failure on OS X.
configure.ac | 2 +-
main.cpp | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
commit e437660f4d877b4b0f87e279ce13fb75fbfa96ea
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=e437660f4d877b4b0f87e279ce13fb75fbfa96ea;hp=6bf9809505a5142503c2cd121ff1ac0635d83f55
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Mar 25 18:15:39 2015 +0000
Fix clang warning from passing string literals to tigetstr.
Annoying to have to, since obviously tigetstr _should_ normally expect
a string literal, but it's from the Dawn Of Time and hence declared to
take a char * rather than a const char *, so what can you do.
(Admittedly this is a somewhat overengineered fix, but.)
main.cpp | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
commit f973988fd70e16a3dc27dd884755be9f9fcca252
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=f973988fd70e16a3dc27dd884755be9f9fcca252;hp=e437660f4d877b4b0f87e279ce13fb75fbfa96ea
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Mar 25 18:16:53 2015 +0000
Fix a clang warning about switching on an enum.
In this case, there's an obviously good reason why not all values of
the enum appear as case labels in the switch, but clang didn't spot
that. With this fix, spigot builds without warnings on OS X.
main.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
More information about the tartarus-commits
mailing list