Skip to content

BF: Clean up includes in threading.h, ensure that cstdint is included

Paul McCarthy requested to merge bf/includes into master

Encountering compilation errors in some environments along the lines of:

threading.h:60:6: error: variable or field 'fsl_init_blas_threading' declared void
60 | void fsl_init_blas_threading(uint16_t flags=0);
|      ^~~~~~~~~~~~~~~~~~~~~~~
threading.h:60:30: error: 'uint16_t' was not declared in this scope
60 | void fsl_init_blas_threading(uint16_t flags=0);
|                              ^~~~~~~~
threading.h:27:1: note: 'uint16_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
Edited by Paul McCarthy

Merge request reports