Git Product home page Git Product logo

dense_hash_map's Issues

Cannot compile under visual studio 2019 and clang

Hello, can you specify the compiler version and working environment.
I tried to compile it on visual studio 2019 and it showed:

\repos\dense_hash_map\include\jg\dense_hash_map.hpp(731): warning C4244:'argument': conversion from'float' to'unsigned __int64', possible loss of data
  ninja: build stopped: subcommand failed.

So I deleted /WXin
https://github.com/Jiwan/dense_hash_map/blob/master/tests/CMakeLists.txt#L13

When I compile it next, the system displays:

Expression: vector iterators incompatible
For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts.

I tried it under wsl, ubuntu18.04, clang14 cmake 3.15.5 and encountered problems:

- Configuring done
CMake Warning (dev) at tests/CMakeLists.txt:8 (add_executable):
  Policy CMP0115 is not set: Source file extensions must be explicit. Run
  "cmake --help-policy CMP0115" for policy details. Use the cmake_policy
  command to set the policy and suppress this warning.
  File: /home/mingy/dense_hash_map/tests/src/dense_hash_map_tests.cpp
This warning is for project developers. Use -Wno-dev to suppress it.

Do you have any plans to write the fourth article, and will you improve the readme document?

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.