← All tasks
cppHaivision/srt #3048Not a task: not reproduced

Build error on GCC 4.8.5

envgap__Haivision__srt-3048

01 / FAILURE SIGNATURE

As reported upstream

/srt/haicrypt/cryspr.c:473:6: error: 'for' loop initial declarations are only allowed in C99 mode
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
c1803bba86c4af288931aa35b2a6233ac5eab657
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

Haivision/srt #3048 · read the original issue
Compiler: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) 



```shell

/srt/haicrypt/cryspr.c: In function 'crysprFallback_MsEncrypt':

/srt/haicrypt/cryspr.c:473:6: error: 'for' loop initial declarations are only allowed in C99 mode

      for (size_t i = 0; i < sizeof(aad) / 4; ++i)

      ^

/srt/haicrypt/cryspr.c:473:6: note: use option -std=c99 or -std=gnu99 to compile your code

/srt/haicrypt/cryspr.c: In function 'crysprFallback_MsDecrypt':

/srt/haicrypt/cryspr.c:619:7: error: 'for' loop initial declarations are only allowed in C99 mode

       for (size_t i = 0; i < sizeof(aad) / 4; ++i)

```



Introduced in PR #2962.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]