Giter VIP home page Giter VIP logo

Comments (4)

jcheng5 avatar jcheng5 commented on August 10, 2024

I'm not able to reproduce this. Here's what mine looks like on a new CentOS 5.8 VM:

gcc -std=gnu99 --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE -I/home/vagrant/httpuv/src/libuv/include -I/home/vagrant/httpuv/src/libuv/include/uv-private -I/home/vagrant/httpuv/src/libuv/src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fpic -c src/unix/async.c -o src/unix/async.o

from httpuv.

jcheng5 avatar jcheng5 commented on August 10, 2024

Also:

gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Platform: x86_64-unknown-linux-gnu (64-bit)

from httpuv.

lgautier avatar lgautier commented on August 10, 2024

I am getting a similar error (RHEL6, and gcc 4.8.1, should this matter)

I am suspecting that the problem is originating from conflicting attempts at setting the C standard. If you pay attention to the call to gcc, you will note that there is -std=gnu99 --std=c89. Only gnu99 should be there (a side note would be that C compilation might only be possible with gcc).

from httpuv.

jcheng5 avatar jcheng5 commented on August 10, 2024

@lgautier Can you tell me how you installed gcc 4.8.1 on RHEL6 so I can attempt to reproduce? Actually, it would be ideal if you could include that information in a new issue, along with a copy/paste of the actual build log. Thanks!

from httpuv.

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.