Giter Club home page Giter Club logo

c-ringbuf's People

Contributors

dhess avatar trutest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c-ringbuf's Issues

Missing ssize_t under Visual Studio

Issue description

If compiling on Windows under Visual Studio, build fails due to missing ssize_t definition

Steps to reproduce

Attempt to compile c-ringbuf under Visual Studio

Technical details

ssize_t is a POSIX extension and therefore not available under VS

conflicting declaration 'typedef struct ringbuf_t * ringbuf_t:;


Issue description

conflicting declaration 'typedef struct ringbuf_t * ringbuf_t;

32 typedef struct ringbuf_t *ringbuf_t
                                                  ^~~~~~
note: previous declaration as 'struct ringbuf_t' 

32 typedef struct ringbuf_t *ringbuf_t
                                ^~~~~~~

Steps to reproduce

Technical details

Hi, thanks for this elegant lib.
Just trying to use this in an ESP8266 arduino project. The above definition is preventing compilation.
It seems that it does like types to use the same name as the struct it is pointing to, I tried to change the type name, things seems to start to work, but it's really messy. Could you shed some light on how to fix this? Not sure if this is related, I can see -std=gnu++17 flag in detailed compile log.

Regards

Consider dual licensing aside of CC0

tl;dr: CC0 has a No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. clause that cannot be considered FOSS.

Issue description

I'd like to package this for Fedora, but we had a change regarding CC0 in 2022: https://lists.fedoraproject.org/archives/list/[email protected]/message/RRYM3CLYJYW64VSQIXY6IF3TCDZGS6LM/

I would appreciate it if you could relicense it under an OSI-approved license (MIT, 0BSD, The Unlicense, Apache-2.0, etc.) at your favor.

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.