8000 VC++ 2019 Compile error · Issue #17 · godaddy/procfilter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.
This repository was archived by the owner on Sep 23, 2022. It is now read-only.
VC++ 2019 Compile error #17
Open
Open
@CostanzoPablo

Description

@CostanzoPablo

Any ideas why I can't compile the project?

It seems a compiler interpretation error ...

Thank you

Compile LOG:

1> ------ Compile operation started: project: service, configuration: Release x64 ------
1> api.cpp
1> benchmark-counted.cpp
1> config.cpp
1> configure.cpp
1> die.cpp
1> file.cpp
1> service.cpp
1> isadmin.cpp
1> license.cpp
1> log.cpp
1> minmaxavg.cpp
1> path.cpp
1> pfworker.cpp
1> quarantine.cpp
1> random.cpp
1> rc4.cpp
1> scan.cpp
1> pfservice.cpp
1> getfile.cpp
1> hash.cpp
1> Compiling ...
1> shellnotice.cpp
1> signing.cpp
1> svcutil.cpp
1> swig_wrapper.cpp
1> update.cpp
1> C: \ projects \ procfilter \ service \ update.cpp (91,16): error C2065: 'git_cred': undeclared identifier
1> C: \ projects \ procfilter \ service \ update.cpp (91,27): error C2065: 'out': undeclared identifier
1> C: \ projects \ procfilter \ service \ update.cpp (91,32): error C2059: syntax error: 'const'
1> C: \ projects \ procfilter \ service \ update.cpp (92,1): error C2143: syntax error: missing ';' in front of '{'
1> C: \ projects \ procfilter \ service \ update.cpp (92,1): error C2447: '{': missing function header (old style formal list?)
1> C: \ projects \ procfilter \ service \ update.cpp (130,40): error C2065: 'GetCredentials': undeclared identifier
1> C: \ projects \ procfilter \ service \ update.cpp (206.60): error C3861: 'giterr_last': identifier not found
1> C: \ projects \ procfilter \ service \ update.cpp (206.76): error C3861: 'giterr_last': identifier not found
1> C: \ projects \ procfilter \ service \ update.cpp (208.2): error C3861: 'giterr_last': identifier not found
1> warning.cpp
1> status.cpp
1> strlcat.cpp
1> terminate.cpp
1> threadpool.cpp
1> winerr.cpp
1> winmain.cpp
1> C: \ Program Files (x86) \ Windows Kits \ 10 \ Include \ 10.0.19041.0 \ ucrt \ inttypes.h (117,1): warning C4005: 'PRId64': macro redefinition
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ strutils.h (55): message: see above definition of 'PRId64'
1> C: \ Program Files (x86) \ Windows Kits \ 10 \ Include \ 10.0.19041.0 \ ucrt \ inttypes.h (135,1): warning C4005: 'PRIi32': macro redefinition
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ strutils.h (59): message: see above definition of 'PRIi32'
1> C: \ Program Files (x86) \ Windows Kits \ 10 \ Include \ 10.0.19041.0 \ ucrt \ inttypes.h (173,1): warning C4005: 'PRIu32': macro redefinition
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ strutils.h (47): message: see above definition of 'PRIu32'
1> C: \ Program Files (x86) \ Windows Kits \ 10 \ Include \ 10.0.19041.0 \ ucrt \ inttypes.h (174,1): warning C4005: 'PRIu64': macro redefinition
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ strutils.h (43): message: see above definition of 'PRIu64'
1> C: \ Program Files (x86) \ Windows Kits \ 10 \ Include \ 10.0.19041.0 \ ucrt \ inttypes.h (193.1): warning C4005: 'PRIx64': macro redefinition
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ strutils.h (51): message: see above definition of 'PRIx64'
1> yara.cpp
1> C: \ projects \ procfilter \ service \ yara.cpp (185,54): error C2664: 'void yr_compiler_set_callback (YR_COMPILER *, YR_COMPILER_CALLBACK_FUNC, void *)': argument 2 cannot be converted from 'void (__cdecl *) (int, const char *, int, const char *, void *) 'to' YR_COMPILER_CALLBACK_FUNC '
1> C: \ projects \ procfilter \ service \ yara.cpp (185,37): message: None of the functions with this name in scope match the destination type
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ compiler.h (323,13): message: see the declaration of 'yr_compiler_set_callback'
1> C: \ projects \ procfilter \ service \ yara.cpp (323,71): error C2440: '=': cannot convert 'const char *' to 'char *'
1> C: \ projects \ procfilter \ service \ yara.cpp (323.63): message: Qualifiers are lost in conversion
1> C: \ projects \ procfilter \ service \ yara.cpp (371.89): error C2664: 'int yr_rules_scan_proc (YR_RULES *, int, int, YR_CALLBACK_FUNC, void *, int)': argument 4 cannot be converted from 'int (__cdecl *) (int, void *, void *)' to 'YR_CALLBACK_FUNC'
1> C: \ projects \ procfilter \ service \ yara.cpp (371.72): message: None of the functions with this name in scope match the destination type
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ rules.h (117.12): message: see the declaration of 'yr_rules_scan_proc'
1> C: \ projects \ procfilter \ service \ yara.cpp (411.98): error C2664: 'int yr_rules_scan_file (YR_RULES *, const char *, int, YR_CALLBACK_FUNC, void *, int)': argument 4 cannot convert from 'int (__cdecl *) (int, void *, void *)' to 'YR_CALLBACK_FUNC'
1> C: \ projects \ procfilter \ service \ yara.cpp (411.81): message: None of the functions with this name in scope match the destination type
1> C: \ yara-4.0.0 \ libyara \ include \ yara \ rules.h (99.12): message: see the declaration of 'yr_rules_scan_file'
1> C: \ projects \ procfilter \ service \ yara.cpp (442,114): error C2664: 'int yr_rules_scan_mem (YR_RULES *, const uint8_t *, size_t, int, YR_CALLBACK_FUNC, void *, int)': argument 5 cannot convert from 'int (__cdecl *) (int, void *, void *)' to 'YR_CALLBACK_FUNC'
1> C: \ projects \ procfilter \ service \ yara.cpp (442.97): message: None of the functions with this name in scope match c

imagen

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