Skip to content

testing/massivethreads: fix check with gcc 14

mio requested to merge mio/aports:massivethreads into master

Adjust the main() type signature in check which had triggered a rebuild error with gcc 14.

The error was:

myth_pvalloc.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){}
      | ^~~~

In my local setup, the measure_latency test hung in repeat tests, but could not reproduce it in CI. The timeout should allow enough time for the build to complete, or fail in the event it is unable to exit in a timely manner. Can remove the timeout if it is deemed unnecessary.

Edited by mio

Merge request reports