[cfe-dev] Link errors in Windows
anton at korobeynikov.info
Mon Feb 21 00:11:31 PST 2011
> I was able to see the reason. When a source file includes "Windows.h" and
> does use Win32 APIs, then clang emits some Win32 API definitions in the
> object files. I've confirmed by looking bitcode.
It seems that the stuff comes from your headers. It might be possible
that they are just broken, but it's hard to say w/o looking into
source code, etc.
Please consider filling a PR on this matter.
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the cfe-dev