Skip to content

Fix unclosed brace in vxExecuteGraph when streaming is disabled#70

Merged
kiritigowda merged 1 commit into
openvx_1.3.2from
kg/fix-streaming-brace
Jul 15, 2026
Merged

Fix unclosed brace in vxExecuteGraph when streaming is disabled#70
kiritigowda merged 1 commit into
openvx_1.3.2from
kg/fix-streaming-brace

Conversation

@kiritigowda

Copy link
Copy Markdown
Member

Summary

  • The streaming implementation (PR Implement OpenVX streaming extension #69) introduced a while loop inside #ifdef OPENVX_USE_STREAMING in vxExecuteGraph, with a bare { in the #else path as a drop-in replacement
  • The } closing the while body was inside the #ifdef block, leaving the bare { in the non-streaming path unclosed
  • Any build without -DOPENVX_USE_STREAMING=ON failed at end-of-file with: error: expected declaration or statement at end of input

Fix

Adds #else / } to close the bare block in the non-streaming path, matching the } that closes the while body in the streaming path.

Test plan

  • Build without streaming flags (e.g. Vision-only mode) — previously failed, should now compile
  • Build with -DOPENVX_USE_STREAMING=ON — should continue to compile and pass conformance

🤖 Generated with Claude Code

… defined

The streaming commit (#69) introduced a while loop guarded by
#ifdef OPENVX_USE_STREAMING, with a bare { in the #else path as a
drop-in replacement. The } closing the while body was inside the
#ifdef block, leaving the bare { in the non-streaming path unclosed.
This caused a compile error at end-of-file for any build without
-DOPENVX_USE_STREAMING=ON.

Co-Authored-By: Claude <noreply@anthropic.com>
@kiritigowda
kiritigowda merged commit 91de029 into openvx_1.3.2 Jul 15, 2026
55 checks passed
@kiritigowda
kiritigowda deleted the kg/fix-streaming-brace branch July 15, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant