Git Product home page Git Product logo

Comments (7)

ranisalt avatar ranisalt commented on August 15, 2024

I fear that VS 2013 is not fully compliant with C++11 (source), though I'm trying to configure appveyor to build on Windows too.

I myself can't try since I don't have Windows anywhere, so I'm going to mark as help wanted.

from node-argon2.

 avatar commented on August 15, 2024

It looks like constexpr is supported on Visual Studio 2015 (according to this), which is a little bit harder to set up with node-gyp, I'll try if I can compile it with VS2015...


Can't you run Windows in a VM?

from node-argon2.

 avatar commented on August 15, 2024

With VS2015 I get only 2 errors:

..\src\argon2_node.cpp(25): error C3249: illegal statement or sub-expression fo
r 'constexpr' function [C:\Users\Wout\projects\node-argon2\build\argon2.vcxproj
]
..\src\argon2_node.cpp(33): error C2131: expression did not evaluate to a const
ant [C:\Users\Wout\projects\node-argon2\build\argon2.vcxproj]

And when I open it in the VS2015 IDE I get the errors:

  • constexpr function return is non-constant on the word static_cast on line 25
  • function call must have a constant value in a constant expression on the word base64Length on line 33

from node-argon2.

ranisalt avatar ranisalt commented on August 15, 2024

I'm going to replace the base64Length function for one that does not require math or static cast.

from node-argon2.

 avatar commented on August 15, 2024

from node-argon2.

tomByrer avatar tomByrer commented on August 15, 2024

You can edit the README yourself @wb9688 by visiting the file, then click on the pencil icon between the monitor & tashcan.

from node-argon2.

ranisalt avatar ranisalt commented on August 15, 2024

Yes, please do, I've been in a hurry this week because of university 👍

from node-argon2.

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.