Giter Site home page Giter Site logo

Comments (3)

xorgy avatar xorgy commented on May 18, 2024

Seems it's been there since 3DLabs last touched glslang in 2005.

In that import, the README.txt talks about why the header is there.

2.  You may have a missing header file, unistd.h.  Create an empty one in
some standard devstudio or SDK system include directory.  (Bison/flex
generate a #include <unistd.h>, this makes them happy.)

I don't think this happens anymore, so it should be safe to remove unistd.h. Though I have not tested flex, and I have not tested versions of bison older than than 3.0.4.

from glslang.

mgadams avatar mgadams commented on May 18, 2024

I think you're correct. The one platform I'd be slightly concerned about would be Windows, and I confirmed that the bison.exe in the tools directory doesn't generate code including unistd.h.

Given that, I've created pull request #88 to remove it.

from glslang.

johnkslang avatar johnkslang commented on May 18, 2024

I think this is a problem from 2003 that does not exist in 2015. Fixed with pull request #88.

(Flex is no longer part of glslang.)

I suspect the existing MSVC project files should also be removed. Only CMake is being maintained.

from glslang.

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.