Skip to content

Fix: for loop CFLOW_BRANCHING.#14

Open
al3xkras wants to merge 1 commit into
ac3ss0r:mainfrom
al3xkras:main
Open

Fix: for loop CFLOW_BRANCHING.#14
al3xkras wants to merge 1 commit into
ac3ss0r:mainfrom
al3xkras:main

Conversation

@al3xkras

@al3xkras al3xkras commented Jul 22, 2025

Copy link
Copy Markdown

A simple example that does not compile:

error: expected '(' after 'for'
5.861 for (i = 0, j = 0; i < HAMT_ARRAY_NODE_SIZE; i++) {

Fix: If asm is not defined (which is the case with some versions of Clang, e.g. ollvm-4.0), switch to using __asm__ instead.

```
error: expected '(' after 'for'
5.861 for (i = 0, j = 0; i < HAMT_ARRAY_NODE_SIZE; i++) {
```

Fix: If *asm* is not defined (which is the case with some versions of Clang, e.g. ollvm-4.0), switch to using
*__asm__* instead.
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