mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
arch: Remove stray ) in pragma (#1413)
This fixes a warning from clang: arch/dotproductavx.cpp:94:51: warning: unexpected token in pragma diagnostic [-Wunknown-pragmas] Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
a02b0f9726
commit
e45d9587b4
@ -91,7 +91,7 @@ double DotProductAVX(const double* u, const double* v, int n) {
|
||||
// fool the intrinsics into thinking we are extracting the bottom int64.
|
||||
auto cast_sum = _mm256_castpd_si256(sum);
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing")
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
*(reinterpret_cast<int64_t*>(&result)) =
|
||||
#if defined(_WIN32) || defined(__i386__)
|
||||
// This is a very simple workaround that is activated
|
||||
|
Loading…
Reference in New Issue
Block a user