Skip to content

Go build fail on OS X: Passing char to const unsigned char; and arg>parameter #14

Closed
@batsonjay

Description

@batsonjay

OpenAir:go-ethereum batsonjay$ go get -u github.com/ethereum/go-ethereum

github.com/obscuren/secp256k1-go

In file included from /Users/batsonjay/Code/go/src/github.com/obscuren/secp256k1-go/secp256.go:9:
In file included from ../../code/go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/secp256k1.c:5:
In file included from ../../code/go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num.h:11:
../../code/go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h:286:37: warning: passing 'char [257]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
/usr/local/include/gmp.h:1563:68: note: passing argument to parameter here
OpenAir:go-ethereum batsonjay$ go-ethereum -m
-bash: go-ethereum: command not found

I don't know what to propose as a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions