|
|
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Errors when compiling TheIDE
Errors when compiling TheIDE [message #57647] |
Sat, 06 November 2021 10:41  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I seem to get a whole bunch of errors when compiling TheIDE after updating latest sources from GIT. This is just the beginning:
C:\upp-git\upp.src\uppsrc\Core\SIMD_SSE2.h(8): error C2668: 'Upp::_mm_storeu_ps': ambiguous call to overloaded function
c:/program files (x86)/microsoft visual studio/2019/buildtools/vc/tools/msvc/14.21.27702/include\intrin.h(848): note: could be 'void Upp::_mm_storeu_ps(float *,__m128)'
c:/program files (x86)/microsoft visual studio/2019/buildtools/vc/tools/msvc/14.21.27702/include\xmmintrin.h(345): note: or 'void _mm_storeu_ps(float *,__m128)' [found using argument-dependent lookup]
C:\upp-git\upp.src\uppsrc\Core\SIMD_SSE2.h(8): note: while trying to match the argument list '(float *, __m128)'
C:\upp-git\upp.src\uppsrc\Core\SIMD_SSE2.h(9): error C2668: 'Upp::_mm_store_sd': ambiguous call to overloaded function
c:/program files (x86)/microsoft visual studio/2019/buildtools/vc/tools/msvc/14.21.27702/include\intrin.h(837): note: could be 'void Upp::_mm_store_sd(double *,__m128d)'
c:/program files (x86)/microsoft visual studio/2019/buildtools/vc/tools/msvc/14.21.27702/include\emmintrin.h(203): note: or 'void _mm_store_sd(double *,__m128d)' [found using argument-dependent lookup]
C:\upp-git\upp.src\uppsrc\Core\SIMD_SSE2.h(9): note: while trying to match the argument list '(double *, __m128d)'
...
The above seems fixable with adding 'Upp::' in front of each ambiguous _mm* call, but I'm not sure that's the correct way to deal with this.
I'm working on Windows with MSBT19x64.
Best regards,
Tom
|
|
|
Re: Errors when compiling TheIDE [message #57652 is a reply to message #57647] |
Wed, 10 November 2021 08:00  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
Thanks, it seems to be fixed now!
There are some warnings though, when compiling CvFlt.cpp with MSBT19x64:
CvFlt.cpp
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(170): warning C4244: '=': conversion from 'Upp::dword' to 'char', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(185): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(186): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(187): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(188): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(189): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(190): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(191): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(192): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(193): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(193): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(194): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(194): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(195): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(195): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(196): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(196): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(197): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(197): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(198): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(198): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(199): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(199): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(200): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(200): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(201): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(201): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(201): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(202): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(202): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
C:\upp-16111\upp.src\uppsrc\Core\CvFlt.cpp(202): warning C4244: 'argument': conversion from 'Upp::uint64' to 'Upp::dword', possible loss of data
Core: 1 file(s) built in (0:00.98), 984 msecs / file
OK. (0:01.07)
Best regards,
Tom
[Updated on: Mon, 22 November 2021 17:25] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Apr 21 16:34:11 CEST 2025
Total time taken to generate the page: 0.03045 seconds
|
|
|