Coder Social home page Coder Social logo

Fails to compile about go-curl HOT 4 CLOSED

andelf avatar andelf commented on June 20, 2024
Fails to compile

from go-curl.

Comments (4)

andelf avatar andelf commented on June 20, 2024

please post your go version and build command. :)

from go-curl.

darrenpeters avatar darrenpeters commented on June 20, 2024

Sure, here you go:

darren@darren-VirtualBoxUbuntu:~/GoSites$ cd $GOPATH
darren@darren-VirtualBoxUbuntu:~/GoSites$ go version
go version go1
darren@darren-VirtualBoxUbuntu:~/GoSites$ go get -u github.com/andelf/go-curl
# github.com/andelf/go-curl
src/github.com/andelf/go-curl/c-callback.c: In function ‘header_function’:
src/github.com/andelf/go-curl/c-callback.c:8:52: error: ‘GoUintptr’ undeclared (first use in this function)
...
...

from go-curl.

andelf avatar andelf commented on June 20, 2024

https://code.google.com/p/go/source/diff?spec=svnd744d86bd5ea04bd5b814c2b70ae24fc6c527ce2&r=d063a7844d48ef79de26bb58dffa3ae0176aa738&format=side&path=/src/cmd/cgo/out.go&old_path=/src/cmd/cgo/out.go&old=15a98eba66e021d5ea66d357b54742c74160bb39

I found this, but not sure if it is the problem~.

GoUintptr was introduced in this commit. Maybe I should add typedefs.

from go-curl.

andelf avatar andelf commented on June 20, 2024

this will marked as "won't fix".
you can browse the commit tree and checkout an older version of go-curl, which works.

from go-curl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.