Giter Site home page Giter Site logo

Comments (5)

klokare avatar klokare commented on July 17, 2024 2

Your link led me to the solution. I was grabbing stddef.h from "/usr/include/linux". I added your suggestion and removed that path. Problem is gone. A new one appeared but I think that may just be a syntax issue in my .yaml. Thanks for the help.

from c-for-go.

cznic avatar cznic commented on July 17, 2024

At my box the size_t typedef seems to be found in /usr/lib/gcc/x86_64-linux-gnu/6/include/, but I guess -ccdefs should manage to use that path. (?)

from c-for-go.

cznic avatar cznic commented on July 17, 2024

Here in particular is the location recorded when generating the CCIR/libc headers using the equivalent of -ccdefs.

from c-for-go.

klokare avatar klokare commented on July 17, 2024

Just tried adding that (well, mine was 4.9.2 not 6) in the IncludePaths. No luck. Same error.

If it helps, here's the line from the gmp.h header that doesn't seem to place nicely:

__GMP_DECLSPEC void mp_set_memory_functions (void *(*) (size_t),
                                          void *(*) (void *, size_t, size_t),
                                          void (*) (void *, size_t)) __GMP_NOTHROW;

from c-for-go.

xlab avatar xlab commented on July 17, 2024

yeah -ccdefs steals defines from host compiler, including platform size_t.

from c-for-go.

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.