Questions tagged [solc]
Questions related to the compiler for Solidity: solc
259
questions
6
votes
1answer
404 views
Getting segmentation fault while compiling solidity contract
Getting segmentation fault when compiling a simple contract on geth on OSX Yosemite
web3.eth.getCompilers();
["Solidity"]
source = "contract test { function multiply(uint a) returns(uint d) { return ...
11
votes
3answers
5k views
Internal compiler error: Accessors for mapping with dynamically-sized keys not yet implemented
I have a mapping(string => Person) public map:
struct Person {
string name;
string description;
address primaryAddress;
string linkToWebsite;
string ...
4
votes
2answers
3k views
Can't install solc on Mac OS X
I can't install solc on Mac OS X. I have tried the following:
npm install solc
/Users/punddalinni
└── solc@0.3.0-1
npm WARN enoent ENOENT: no such file or directory, open '/Users/punddalinni/...
9
votes
1answer
695 views
How to get a contract verified on etherscan?
I'm having a hard time getting a contract verified on Etherscan.
I deployed the contract using Ethereum Wallet, I can effectively find it on Etherscan but when I copy-paste the exact same code to the ...
1
vote
1answer
636 views
How to rebuild solc on Mac OSX?
I need to rebuild solc on OSX. I followed http://solidity.readthedocs.org/en/latest/installing-solidity.html but old version still in place with solc --version. Is there a process to remove existing ...
4
votes
1answer
2k views
Enums in Solidity
Enum's are not working in solc? Just tried to compile demo contract from gihub documentation :
contract test {
enum ActionChoices { GoLeft, GoRight, GoStraight, SitStill };
function test()
{
...
1
vote
1answer
782 views
method not available: solc (solidity compiler) not found
I am using ethereum-ruby to deploy smart contracts. I am using JSON RPC calls to my geth and its working pretty well. But when i use compile_solidity I get:
"error"=>{"code"=>-32603, "message"=&...
5
votes
2answers
769 views
How do I fix Javascript stack overflows when compiling very large file with solc?
If I compile a very large file with solc the stack overflows. This will happen most commonly in node because the default stack is only 984kbytes, which is strangely what you would expect for a 1990s ...
3
votes
1answer
839 views
Getting a solc error: uint176 - Identifier not found or not unique
I'm working on an "Infosphere" contract, an arbitrary key/value store any individual or contract can use.
You can take a look at it here: https://github.com/SafeMarket/dapp/blob/...