Skip to content

Build error on VS2022 Version 17.5.3 #1

@silasvorne

Description

@silasvorne

Build error when enable MEMORY_LEAKS_CHECK in cmake.

C:\nvpro-samples\nvpro_core\third_party\imgui\imgui.h(1817,23): error C2473: 'operator new': looks like a function definition, but there is no parameter list.
C:\nvpro-samples\nvpro_core\third_party\imgui\imgui.h(1817,14): error C2365: 'operator new': redefinition; previous definition was 'function'
C:\nvpro-samples\nvpro_core\third_party\imgui\imgui.h(1817,26): error C2143: syntax error: missing ';' before '('
C:\nvpro-samples\nvpro_core\third_party\imgui\imgui.h(1817,33): error C2059: syntax error: ','
C:\nvpro-samples\nvpro_core\third_party\imgui\imgui.h(1817,58): error C2059: syntax error: ')'
C:\nvpro-samples\nvpro_core\third_party\imgui\imgui.h(1817,60): error C2143: syntax error: missing ';' before '{'
C:\nvpro-samples\nvpro_core\third_party\imgui\imgui.h(1817,60): error C2447: '{': missing function header (old-style formal list?)
C:\nvpro-samples\nvpro_core\third_party\imgui\imgui_internal.h(2211,60): error C2226: syntax error: unexpected type 'ImNewWrapper'
Done building project "gl_path_rendering_CMYK.vcxproj" -- FAILED.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions