Giter VIP home page Giter VIP logo

Comments (4)

arunanshub avatar arunanshub commented on May 30, 2024

@rainmanp7

However, the ninja build system is not compatible with Meson

In the Requirements section, it is mentioned that Ninja is a supported backend of Meson. However, meson compile -C <builddir> can also be used as a backend-agnostic alternative, even though using ninja does not hurt.

One error is that they are trying to use the -Werror flag with the meson command. This flag will cause Meson to fail if there are any warnings, even if the warnings are not fatal. The author should remove the -Werror flag from their command.

Firstly, I'd like to see which part of the codebase fails to compile in the presence of -Werror.

from preload.

rainmanp7 avatar rainmanp7 commented on May 30, 2024

It works.
But only use the meson build.

Otherwise if people alter your code the person will think your stuff doesn't work , because of their own coding errors.

"fail if there are any warnings"

It's actually a good flag to put.
But you know how people are :-)

It's good to hear from you ,I really like what you have accomplished with it.

from preload.

arunanshub avatar arunanshub commented on May 30, 2024

@rainmanp7

It works.
But only use the meson build.

Otherwise if people alter your code the person will think your stuff doesn't work , because of their own coding errors.

That's fair. Feel free to open a pull request.

It's actually a good flag to put.
But you know how people are :-)

I am not planning to remove -Werror flag just because people fail to notice errors or unsafe practices in their code. If it was rust, I'd have considered it, but you know how tricky C can be when it comes to bugs.

It's good to hear from you ,I really like what you have accomplished with it.

Thank you for your kind words. It's actually Behdad Esfahbod's creation. I just upgraded and simplified some parts.

from preload.

arunanshub avatar arunanshub commented on May 30, 2024

I just realised that there is nothing to remove since Meson handles it at build time.

mesonbuild/meson#2427 (comment)

from preload.

Related Issues (1)

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.