pulp-platform / snitch_cluster

An energy-efficient RISC-V floating-point compute cluster.
https://pulp-platform.github.io/snitch_cluster/
Apache License 2.0
48 stars 46 forks source link

sw: Fix warning in `kmp.c` #134

Closed zero9178 closed 4 months ago

zero9178 commented 4 months ago

Compiling the file would previously emit

warning: missing terminating '"' character [-Winvalid-pp-token]

due to what I assume is a mistake introduced through some auto formatter. Multi line strings are actually illegal in C and Clang and GCC are simply kind enough to only emit a warning. The C does however implicitly concatenate two string literals appearing next to each other producing the intended result.

colluca commented 4 months ago

Thanks for your contribution @zero9178!

I'm closing this PR in favour of https://github.com/pulp-platform/snitch_cluster/pull/135 where I included your changes.