Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

gcc4.8.5 编译失败 error: ‘_mm_max_epi8’ was not declared in this scope

Open
#98 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start at sonic-cpp-1.0.1/include/sonic/internal/arch/sse/simd.h:159 and reproduce the GCC 4.8.5 failure with -msse2. Check the intrinsic declaration and the project's compiler requirements; done means the minimum supported compiler and a confirmed resolution or documented incompatibility are established.

Written by the indexing model from the issue text.

Description

sonic-cpp-1.0.1/include/sonic/internal/arch/sse/simd.h:159:37: error: ‘_mm_max_epi8’ was not declared in this scope
return _mm_max_epi8(*this, other);

#include <emmintrin.h>
加了编译选项 -msse2 也没用 是编译器版本低了吗? 最低要求是哪个版本?

Dominant language
C++
Stars
976
Forks
128
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bytedance/sonic-cpp

All issues in bytedance/sonic-cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.