-
Notifications
You must be signed in to change notification settings - Fork 36
DRAFT: msys2 working #185
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
base: main
Are you sure you want to change the base?
DRAFT: msys2 working #185
Changes from all commits
80ff34f
d1852a0
9103de7
8c7a4fd
4262075
225b98c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,4 @@ | ||
| #if defined(__unix__) || defined(__unix) || \ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess this can be removed, but what was the reason for it @JaceCear?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i would assume msvc there is defines checking for it, but i would assume we arent compiling the tools in visual studio anyways
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like BriBaSA doesn't like it if it's not there? IMO keeping VS compat in turn means theoretical (and in this case practical) independence from GCC, which is a good thing.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
ok would !MSVC be a better choice then |
||
| (defined(__APPLE__) && defined(__MACH__)) | ||
| #include <assert.h> | ||
| #endif | ||
|
|
||
| #include <stdbool.h> | ||
| #include <stdio.h> | ||
|
|
@@ -117,4 +114,4 @@ int main(int argc, char **argv) | |
| } | ||
|
|
||
| return 0; | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol, so yeah this needs to be set if you are on windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep,
from
tools/preproc/asm_file.cppi tried updating it but it randomly segfaults so this is the solution im using to work around that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the workaround at all.
Either the code gets proper CRLF support or not, but dos2unix is an additional dependency that we don't need.