Russ, Formally we support only Windows 11 because that’s now the only Windows version that Microsoft supports, at least for free. We don’t need to do anything that would break building or running on earlier versions as long as it doesn’t create additional maintenance burden.
Regards, John Ralls > On Feb 4, 2026, at 06:37, [email protected] wrote: > > Thank you John, I really appreciate your detailed replies to my queries. > I see the compile flags you mentioned but the -Wall -Werror are missing from > the MING C++ flags, I will start to clean those up once I get my first herald > patch through. > I also see a flag that looks like it might be for compiling for WindowsXP, > can anyone tell me which versions of Windows we are trying to support from > the 5.14 code base on? Is this something we want to propagate forward? > Certainly Windows 10/11, but which others? > > Thank you! > > -----Original Message----- > From: John Ralls <[email protected]> > Sent: Monday, February 2, 2026 5:59 PM > To: [email protected] > Cc: [email protected] > Subject: Re: Does GnuCash build for all the platforms mentioned in the Cmake > files? Or What flag specifies building for Linux > > Russ, > > Linux is a flavor of Unix so `if (UNIX)` sections control it as well as BSD, > macOS, and Solaris. We haven’t heard from the guy who was building on Solaris > in quite a while and we don’t test on it so I’ve no idea if it still works. > Everything else does. We test Fedora, Arch Linux, and macOS in CI and I’m > working now on adding CI for Mingw64. > > The C and C++ compile flags for all systems are `-Werror -Wall > -Wmissing-prototypes -Wmissing-declarations`, see lines 613, 614, and 618. > You need not do anything to CMakeLists.txt unless you want to turn on more > warnings. > > But there are 36 places where we turn off some diagnostic with `#pragma GCC > diagnostic ignored` so you can work on fixing those if you like, just grep > for that string to find them. > > Regards, > John Ralls > > > >> On Feb 2, 2026, at 4:33 PM, <[email protected]> <[email protected]> >> wrote: >> >> So I am starting to work on converting various targets in gnucash-git to C++. >> When doing that I intend to add -Wall -Werror and resolve any issues that >> pop up. >> I plan to test on MINGW and Ubuntu, but I see a whole host of different >> platforms mentioned in the cmakefiles. >> If we actually build for those other platforms, I’d like to restrict the >> -Wall -Werror to just the 2 platforms I can test so it doesn’t create >> headaches for those other platforms. >> I see MINGW for building that platform, but don’t see anything for >> Linux specifically, I assume I can use (CMAKE_SYSTEM_NAME MATCHES "Linux") >> but thought I would check with the experts. >> _______________________________________________ >> gnucash-devel mailing list >> [email protected] >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > > _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
