google / cel-cpp

Fast, portable, non-Turing complete expression evaluation (C++)
https://cel.dev
Apache License 2.0
159 stars 47 forks source link

Support for windows (Clang or MSVC) build #768

Open Doug-Milne opened 4 weeks ago

Doug-Milne commented 4 weeks ago

We are evaluating the use of CEL-CPP for use in a windows based application. The codelabs readme and various #ifdefs seem to indicate that it should build with Visual Studio but we found a number of small (and obvious) problems trying to build the codelabs on windows.

Once we resolved the smaller issues we noticed a significant number of C++20 related issues using the Microsoft compiler. We were able to build it using Clang on windows and we are using that for our prototyping.

Are there any regular builds using windows (CLang or MSVC)?

It looks like the last release was over a year ago, is there an intention to support a windows build with official releases?

jcking commented 4 weeks ago

The intention is to eventually support GCC, Clang, and MSVC. GCC and Clang are regularly tested on Linux. Clang on Windows and MSVC not so much, though we probably will eventually.

Doug-Milne commented 3 weeks ago

It looks like the project is open to contributions, do you see an issue with our team providing fixes for Windows specific issues (assuming that we arrange for the CLA)?

What's the criteria for an official release (I'm asking because it's been a long time since the last one)?