search for: visual_c

Displaying 3 results from an estimated 3 matches for "visual_c".

2013 Aug 21
2
PATCH for cpu.c
1) Some time ago all project files for MSVC 6 were removed; it makes sense to remove the code that is necessary only for MSVC 6 and older compilers. --- a\src\libFLAC\cpu.c 2013-08-13 13:30:24.000000000 +0400 +++ b\src\libFLAC\cpu.c 2013-08-16 21:46:42.177485300 +0400 @@ -285,14 +285,7 @@ # ifdef USE_TRY_CATCH_FLAVOR _try { __asm { -# if _MSC_VER <= 1200 - /* VC6 assembler
2013 Aug 21
3
PATCH for cpu.c
...compile using command line instead of a project file. Does > it really hurt keeping such code? Its crufty old code. I should be removed. It makes no sense to keep supporting 20 year old compilers (MSVC6 was was released in 1989 and MSVC7 in 1992 [0]). Erik [0] https://en.wikipedia.org/wiki/Visual_C%2B%2B -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
2020 Jun 28
2
__restirct ignored when including headers like <cmath>
Hi, I am observing a strange behaviour in which Clang ignores __restirct when I include some standard headers. For example, this code: void vec_add(int* __restrict a, int* __restrict b, int n) { #pragma unroll 4 for(int i=0; i<n; ++i) { a[i] += b[i]; } } results in: ; Function Attrs: nofree norecurse nounwind define dso_local void @_Z7vec_addPiS_i(i32*