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

Implement an mc.exe-compatible tool on Linux #54

Open
tpn opened this issue Sep 19, 2023 · 0 comments
Open

Implement an mc.exe-compatible tool on Linux #54

tpn opened this issue Sep 19, 2023 · 0 comments

Comments

@tpn
Copy link
Owner

tpn commented Sep 19, 2023

We rely on this mc.exe invocation on Windows to convert our PerfectHashEvents.man and PerfectHashErrors.mc files into the appropriate include headers and associated resources:

mc -v -o -c -b -h ..\..\include -x . -km PerfectHashEvents.man PerfectHashErrors.mc

The ETW events in the .man file aren't needed for Linux (although it would be nice to generate stubs for them). The status codes are what we really want. Ideally the implementation would include the necessary C glue such that we can also use FormatMessageA() on Linux to obtain the same functionality. (Or at the very least, a means to obtain the string representation of the code.)

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