-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add windows CI #64
base: master
Are you sure you want to change the base?
Add windows CI #64
Conversation
Oh boy, this is going to take a while to fix. The assumption that |
Yep I know. In the upcoming doxy description of metamath this is described as a bug. Affected is for example the structure nullPntrString. A partial solution is using a union { size_t, void* } Sizeof can be used with macros if I remember right, so the integer type whose size is just below the sizeof(void*) can be found with some macro tango. For those interested: a pointer can have a so called segment prefix, so it is for example 48 bits wide. There is usually no integer type (long or long long) that has this weird bit width. To be fair, segmented memory models are not found that often any more, instead the so called flat model is widely used now. Maybe the config.h generated in the build process, has some useful information. |
I'm working on a refactor that instead assumes |
The tests fail with a segfault and
BUG #1502
though, so I should probably procure a working windows system to test. I used tinycc on a windows VM without problems, so I'm not sure what's wrong with the CI version.