mathiu.cpp icon indicating copy to clipboard operation
mathiu.cpp copied to clipboard

vs2019 build bug fix

Open brinkqiang opened this issue 1 year ago • 4 comments

image

brinkqiang avatar Dec 03 '24 06:12 brinkqiang

@brinkqiang could you provide more info on the build issue and a repro sample?

BowenFu avatar Dec 03 '24 12:12 BowenFu

@brinkqiang could you provide more info on the build issue and a repro sample?

The issue lies with the matchit.h dependency. When compiling in the VS2019 environment(version: 16.11.36), it prompts the error:

matchit.h(459,44): fatal error C1202: Recursive type or function dependency
The context is too complex.

Based on suggestions from ChatGPT, I modified the code, and the compilation succeeded. I don't fully understand the specific reasons behind it; it just works this way.

brinkqiang avatar Dec 05 '24 23:12 brinkqiang

I see you have strong template programming skills. The C++ world lacks a good LINQ library. Are you interested in implementing one?

brinkqiang avatar Dec 06 '24 00:12 brinkqiang

I see you have strong template programming skills. The C++ world lacks a good LINQ library. Are you interested in implementing one?

Regarding "LINQ" library, you may find rangev3 or https://github.com/BowenFu/hspp interesting.

BowenFu avatar Dec 06 '24 12:12 BowenFu