Skip to content

Conversation

@MomoDeve
Copy link

@MomoDeve MomoDeve commented Jan 5, 2021

I am building all my CMake projects with clang compiler & Visual Studio IDE. This PR includes fixes which allows RTTR to be built with LLVM toolchain on Windows.
Clang on Windows uses __declspec attribute to define imported/exported functions, not __attribute__
the clang compiler is invoked from visual studio if __clang__ & _MSC_VER macros are defined

for clang on Windows it still should be __declspec
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

Successfully merging this pull request may close these issues.

1 participant