genn-team / genn

GeNN is a GPU-enhanced Neuronal Network simulation environment based on code generation for Nvidia CUDA.
http://genn-team.github.io/
GNU Lesser General Public License v2.1
233 stars 57 forks source link

Better fix for clang errors and reduced warnings #623

Closed neworderofjamie closed 4 months ago

neworderofjamie commented 4 months ago

The better fix for the actual compiler error was to add trailing return types -> uint64_t to the lambda functions.

However, the majority of the changes are to fix warnings, mostly:

neworderofjamie commented 4 months ago

I would suspect it will fix compilation with clang on other platforms as well (and reduce the warnings)