simon-git: winurl (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri Apr 7 07:49:26 BST 2023
TL;DR:
e27b8c9 Fix compile warnings.
3294437 Convert to cmake.
Repository: https://git.tartarus.org/simon/winurl.git
On the web: https://git.tartarus.org/?p=simon/winurl.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2023-04-07 07:49:26
commit e27b8c9c51c682c665c5232ab31b69d4070904fd
web diff https://git.tartarus.org/?p=simon/winurl.git;a=commitdiff;h=e27b8c9c51c682c665c5232ab31b69d4070904fd;hp=f7823b6ac46ff14dfa62867bfb3230e9f8d36bf2
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Apr 7 07:45:15 2023 +0100
Fix compile warnings.
An assortment: 64-bit-related type mismatches (like having callbacks
return int rather than INT_PTR), unused variables, a whole unused
static function.
Also, fixed the check of the return value of ShellExecute. We were
assuming that 0 was the only possible error value, but in fact,
according to the docs, any value less than or equal to 32 indicates
failure.
winurl.c | 51 ++++++++++++++++++---------------------------------
1 file changed, 18 insertions(+), 33 deletions(-)
commit 329443754fd18641e38dd4beba3bf316cd6e6688
web diff https://git.tartarus.org/?p=simon/winurl.git;a=commitdiff;h=329443754fd18641e38dd4beba3bf316cd6e6688;hp=e27b8c9c51c682c665c5232ab31b69d4070904fd
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Apr 7 07:49:04 2023 +0100
Convert to cmake.
In keeping with most of my other stuff these days, this gives all the
usual advantages - effortless out-of-tree builds, choice of build
tool, and now the makefile doesn't commit to a particular
compiler (you can substitute MinGW or clang-cl with a separately
specified toolchain file).
Buildscr | 39 +++++++++++++++------------------------
CMakeLists.txt | 15 +++++++++++++++
Makefile | 38 --------------------------------------
3 files changed, 30 insertions(+), 62 deletions(-)
More information about the tartarus-commits
mailing list