Borderou de evaluare (job #2055261)

Utilizator mlc_oficialBoris Barca mlc_oficial Data 2 noiembrie 2017 23:35:49
Problema A+B Status done
Runda teme_upb Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In static member function ‘static void SparseTable2D::max_vector(SparseTable2D::Val*, const Val*, const Val*, int)’: user.cpp:130:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] auto x = _mm_load_si128((const __m128i*)(src1 + i)); ^ user.cpp:130:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] user.cpp:130:30: error: expected primary-expression before ‘const’ auto x = _mm_load_si128((const __m128i*)(src1 + i)); ^ user.cpp:130:30: error: expected ‘)’ before ‘const’ user.cpp:131:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] auto y = _mm_load_si128((const __m128i*)(src2 + i)); ^ user.cpp:131:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] user.cpp:131:30: error: expected primary-expression before ‘const’ auto y = _mm_load_si128((const __m128i*)(src2 + i)); ^ user.cpp:131:30: error: expected ‘)’ before ‘const’ user.cpp:132:32: error: ‘_mm_max_epi16’ was not declared in this scope auto z = _mm_max_epi16(x, y); ^ user.cpp:133:22: error: ‘__m128i’ was not declared in this scope _mm_store_si128((__m128i*)(dst + i), z); ^ user.cpp:133:30: error: expected primary-expression before ‘)’ token _mm_store_si128((__m128i*)(dst + i), z); ^ user.cpp:133:43: error: ‘_mm_store_si128’ was not declared in this scope _mm_store_si128((__m128i*)(dst + i), z); ^ user.cpp:137:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] auto x = _mm_load_si128((const __m128i*)(src1 + i)); ^ user.cpp:137:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] user.cpp:137:30: error: expected primary-expression before ‘const’ auto x = _mm_load_si128((const __m128i*)(src1 + i)); ^ user.cpp:137:30: error: expected ‘)’ before ‘const’ user.cpp:138:37: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] auto y = _mm_loadu_si128((const __m128i*)(src2 + i)); ^ user.cpp:138:37: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] user.cpp:138:31: error: expected primary-expression before ‘const’ auto y = _mm_loadu_si128((const __m128i*)(src2 + i)); ^ user.cpp:138:31: error: expected ‘)’ before ‘const’ user.cpp:139:32: error: ‘_mm_max_epi16’ was not declared in this scope auto z = _mm_max_epi16(x, y); ^ user.cpp:140:22: error: ‘__m128i’ was not declared in this scope _mm_store_si128((__m128i*)(dst + i), z);

Ceva nu functioneaza?