Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw cross-compilation fails when looking for Windows.h #204

Open
nbarrios1337 opened this issue Aug 16, 2022 · 0 comments
Open

mingw cross-compilation fails when looking for Windows.h #204

nbarrios1337 opened this issue Aug 16, 2022 · 0 comments

Comments

@nbarrios1337
Copy link

# include <Windows.h>

Due to the capitalization of the includes directive, MinGW errors out when cross-compiling on Linux targeting Windows. Fortunately this is the only instance this problem, as all other instances of #include <windows.h> in csv-parser are lowercase.

vincentlaucsb pushed a commit that referenced this issue Jun 15, 2024
When cross-compiling with MinGW, the compiler is unable to find the
include of Windows.h because windows.h is provided instead.
Replacing the includes of Windows.h with windows.h solves the issue
and still works on Windows because the filesystem is case insensitive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant