Skip to content

Compilation failure with visual studio /permissive- flag #150

@MrHacky

Description

@MrHacky

We're trying to use the visual studio /permissive- flag to achieve more standard compliant code, but with this flag enabled including <sparsehash/dense_hash_map> fails with this error:
...\sparsehash\internal\hashtable-common.h(179): error C2760: syntax error: unexpected token 'typedef', expected ';'

Versionsused :

  • Visual Studio 2017 15.8.6
  • sparsehash-2.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions