Code Monkey home page Code Monkey logo

Comments (4)

g1mv avatar g1mv commented on August 14, 2024

Thanks ! Corrected in 38f29cd .
The calls to malloc() in ssh_api.h had to be malloc(size_t) actually, maybe that was the problem initially.

from density.

nemequ avatar nemequ commented on August 14, 2024

The calls to malloc() in ssh_api.h had to be malloc(size_t) actually, maybe that was the problem initially.

Nope, the size_t thing isn't really related, but good catch!

FWIW, here are the flags I use: https://github.com/quixdb/squash/blob/master/cmake/ExtraWarningFlags.cmake#L9. They do help catch a fair number of errors.

from density.

g1mv avatar g1mv commented on August 14, 2024

OK yes you are using a lot ! I'm working with -Wall to stay simple ... is everything compiling fine now ?

from density.

nemequ avatar nemequ commented on August 14, 2024

OK yes you are using a lot ! I'm working with -Wall to stay simple ...

Why I don't do that: https://mail.gnome.org/archives/desktop-devel-list/2012-July/msg00100.html

is everything compiling fine now ?

Well, I think all the remaining errors are in my code (happens when you copy the another plugin instead of starting from scratch), though if I add those flags when compiling libssc I see a lot of issues, but merely including ssc_api.h doesn't trigger anything else.

from density.

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.