argotorg / argotorg/solidity

compiler error:size_t’ was not declared in this scope; did you mean ‘std::size_t’?

Open
#12,329 6 comments 0 reactions 0 assignees View on GitHub
bug :bug: low effort
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
2d 19h
Merged PRs (30d)
29

Description

git clone source and check out v.7.0.6
and ./scripts/build.sh
error break:
size_t’ was not declared in this scope; did you mean ‘std::size_t’?
gcc (GCC) 11.1.0
clang version 13.0.0
os: manjaro

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by checking out v7.0.6 and running ./scripts/build.sh on the reported Manjaro environment with GCC 11.1.0 or Clang 13. No source file or test is named, so use the build output to locate the size_t diagnostic. Done means the v7.0.6 build completes successfully without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, solidity
Domain
build-system, compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.