gavinhoward / bc

An implementation of the POSIX bc calculator with GNU extensions and dc, moved away from GitHub. Finished, but well-maintained.
https://git.gavinhoward.com/gavin/bc
Other
162 stars 32 forks source link

Windows MSVC compilation problem #60

Closed mcoret closed 1 year ago

mcoret commented 1 year ago

Hi, I'm trying to compile the project using Visual Studio 19, and I get the following error: error C2065: 'SIGWINCH': undeclared identifier. I cannot find such definition in MSVC. MSYS64 version compiles without problems. Thank you!

gavinhoward commented 1 year ago

What version are you trying to compile?

If it's the latest master, I have some changes there to fix a FreeBSD bug that I suspected would break the Windows build. I guess I was right.

Usually, I wait until release time to fix Windows build bugs, but I'll boot Windows and push a fix later today if that will fix your problem. I'll also have a release coming soon with new stuff.

I hope this helps.

mcoret commented 1 year ago

Ah, OK, thank you again! Yes, it's the master branch.

gavinhoward commented 1 year ago

I've pushed e1205eaccfa03a8dbbfd625af664f6b074b69a65 which should fix the problem for now. Can you confirm for me?

mcoret commented 1 year ago

Hi, I can confirm, everything is OK!