8000 Fails to compile for msvc-14.0 with gnu99 · Issue #2674 · libarchive/libarchive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Fails to compile for msvc-14.0 with gnu99 #2674
Open
@hemant-jadhav-emerson

Description

@hemant-jadhav-emerson

Basic Information
Version of libarchive: 3.8.0
How you obtained it: Original GitHub source
Operating system and version: Windows 32/64
What compiler and/or IDE you are using (include version):
msvc-14.0
Target: i386

Description of the problem you are seeing:
Building libarchive with -std=gnu99 will result in to multiple compiler errors.
"libarchive\src\tar\bsdtar.h(191): error C2372 : 'restrict':redifinition; different type modifiers"
Looks like it is an effect of recent changes in bsdtar.h for safe_print annotation b50b8a4

Tag 3.7.9 builds fine with the same build configuration.
We tried other version -std=c++11 with no success.

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

      0