Code Monkey home page Code Monkey logo

Comments (5)

ThomasAdam avatar ThomasAdam commented on June 3, 2024

Hi,

Thanks. Are you able to open a pull-request which looks to address these issues?

from b-em.

pstnotpd avatar pstnotpd commented on June 3, 2024

Yes I will, but I think we must have a neater solution to the max_allign_t typedef issue. I've forked the repository now and continue from there as per instruction.

Meanwhile, how can I contribute to the wiki? Is appears to be a seperate repository which does not fork and it doesn't allow me to push to the master.

from b-em.

hoglet67 avatar hoglet67 commented on June 3, 2024

I've opened up the Wiki to edits from any authenticated user. So you should be able to create a new page now.

from b-em.

SteveFosdick avatar SteveFosdick commented on June 3, 2024

I think I have a solution to the max_allign_t typedef. It seems this was introduced in C11 and for the previous MingW version of gcc that is not the default standard level meaning it is undefined and tsearch.c has to include its own declaration. The MingW64 version of gcc by default uses gnu11 as its standard i.e. everything in C11 + GNU extensions so that typedef will then be defined. So what I think that means is that instead of testing OS or compiler we should test the C standard version to work out whether to include it, i.e. instead of:

#ifndef __CLANG_MAX_ALIGN_T_DEFINED
typedef long double max_align_t;
#endif

we should have:

#if __STDC_VERSION__ < 201112
typedef long double max_align_t;
#endif

from b-em.

SteveFosdick avatar SteveFosdick commented on June 3, 2024

Dominic Beasley is current working on B-Em in Visual Studio so I am assuming it compiles fine now.

from b-em.

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.