Skip to content

Public API declares functions not guaranteed present in standalone compilation unit set #12

@XenonofArcticus

Description

@XenonofArcticus

Where: DEFG.h declares numerous methods (Grid, RasterizeSpanElevGridHor, RasterizeSpanElev, SmoothRasterizeSpanElev, CalcSpanNormals*, SaveDEM, DoGrid, AddPoints) whose definitions are not visible in the provided standalone sources; linkage will fail if referenced.

Why it’s wrong: From the standalone caller’s perspective (per main.cpp/DEFGSupport.*), missing definitions produce unresolved symbols if invoked.

Evidence: Declarations in header; provided compilation units don’t show definitions (e.g., AddPoints prototype with no visible definition).
GitHub
+2
GitHub
+2

Fix: Either supply definitions in the standalone build set or hide/ifdef declarations not supported outside the VNS/WCS build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions