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.)
We rely on this
mc.exeinvocation on Windows to convert ourPerfectHashEvents.manandPerfectHashErrors.mcfiles into the appropriateincludeheaders and associated resources:The ETW events in the
.manfile 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 useFormatMessageA()on Linux to obtain the same functionality. (Or at the very least, a means to obtain the string representation of the code.)