Giter VIP home page Giter VIP logo

Comments (4)

tomghuang avatar tomghuang commented on July 22, 2024

Hi @pwpiwi , when I tried to fix this issue in the msys2/mingw64 environment, I kept seeing the following error:

D:/Projects/argtable3/build_mingw64/src/version.rc:33:10: fatal error: verrsrc.h: No such file or directory
   33 | #include <verrsrc.h>
      |          ^~~~~~~~~~~
compilation terminated.

Do you have the same issue? If yes, how did you fix it? Thanks.

from argtable3.

pwpiwi avatar pwpiwi commented on July 22, 2024

Don't know. I never tried to build it. I am using the "amalgamation" argtable3.c instead.
.
I googled for this file and it seems to be part of Visual Studio. Therefore not available on msys2/mingw

from argtable3.

pwpiwi avatar pwpiwi commented on July 22, 2024

Re getenv_s(): Why using it at all? In your case you just want to check if the environment variable is availabe. Isn't this always safe?

from argtable3.

tomghuang avatar tomghuang commented on July 22, 2024

It might be an issue of msys2/mingw64, because msys2/mingw32 doesn't have this issue.

getenv_s() is used to make Visual Studio compiler happy, because VC++ wants us to use more secure functions. Otherwise, it will show tons of warnings.

from argtable3.

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.