Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Krell <jaykrell@microsoft.com>2018-11-30 12:55:41 +0300
committerJay Krell <jaykrell@microsoft.com>2018-12-06 11:46:21 +0300
commit858434201dda38345e8f79c813918b422f1495bb (patch)
tree4bf4834c6a7b65cc0e58ba562aaf8374b1f1b5ae /msvc/libtest.vcxproj.filters
parent7f729566b4e6e45819ea7a6172d1ad7f9a684cf7 (diff)
Fix cross compile of libtest.
CC libtest_la-libtest.lo <inline asm>:37:2: error: instruction requires: Not 64-bit mode popl %eax ^ ... same error many times Fix ThisCall tests. Libtest.c needs to be C++ for Visual C+++ to accept __thiscall. gcc accepts __thiscall in C. Visual C++ only accepts __thiscall on member functions and function pointers, not globals. Gcc accepts on globals also. So test what we can. add extern C Limit thiscall testing to Win32, even if gcc has more support.
Diffstat (limited to 'msvc/libtest.vcxproj.filters')
-rw-r--r--msvc/libtest.vcxproj.filters2
1 files changed, 1 insertions, 1 deletions
diff --git a/msvc/libtest.vcxproj.filters b/msvc/libtest.vcxproj.filters
index 0fa3590cb54..5152887c91d 100644
--- a/msvc/libtest.vcxproj.filters
+++ b/msvc/libtest.vcxproj.filters
@@ -12,7 +12,7 @@
</Filter>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="..\mono\tests\libtest.c">
+ <ClCompile Include="..\mono\tests\libtest.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>