Code Monkey home page Code Monkey logo

Comments (6)

guillaumef avatar guillaumef commented on July 22, 2024

Hi,
Not sure which c compiler and version you are using. Build test is automated with current stable gcc/clang and is all good.
This redefinition 'error' should be a warning at most. Recent compilers are allowing this trick silently.
Despite this, i have dropped the redefinition. You can 'git pull' and retry.
Regards,
Guillaume

from eredis.

djshafran avatar djshafran commented on July 22, 2024

yep... i'm using CentOS... so installing gcc 4.6.3 solved this question

from eredis.

djshafran avatar djshafran commented on July 22, 2024

if it is possible to solve, would be amazing!

if i put code from init section to client.c file and put all this into eredis source directory, and try to build, have this:
[root@gerasim eredis]# gcc client.c -o client -I./include
client.c:3:1: error: initializer element is not constant
client.c:6:20: error: expected ‘)’ before numeric constant
client.c:9:18: error: expected ‘)’ before numeric constant
client.c:12:20: error: expected ‘)’ before numeric constant

from eredis.

guillaumef avatar guillaumef commented on July 22, 2024

It is C. You have to integrate the init code in a C code structure, you must have at least an "int main(void) {}".
Check the associated examples.
Bye.

from eredis.

djshafran avatar djshafran commented on July 22, 2024

Oh. Thank you so much!

from eredis.

djshafran avatar djshafran commented on July 22, 2024

Amazing speed.... 140kop/s.... Fantastic... No Comments... They are not possible

from eredis.

Related Issues (17)

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.