OpenMP-Validation-and-Verification / OpenMP_VV

OpenMP Offloading Validation & Verification Suite; Official repository. We have migrated from bitbucket!! For documentation, results, publication and presentations, please check out our website ->
https://crpl.cis.udel.edu/ompvvsollve/
Other
54 stars 19 forks source link

Add (int*) cast to malloc to avoid C++ errors #777

Closed tob2 closed 1 year ago

tob2 commented 1 year ago

While the C compiler happy accepts the assignment of the void returning malloc call, C++ compilers reject the void to int* cast. Hence, add the cast such that those tests also compile with C++.

@fel-cab @spophale