Siv3D / OpenSiv3D

C++20 framework for creative coding 🎮🎨🎹 / Cross-platform support (Windows, macOS, Linux, and the Web)
https://siv3d.github.io/
MIT License
1.01k stars 139 forks source link

Array.hppのUbuntuでのCompile error #538

Closed nekomimimi closed 3 years ago

nekomimimi commented 3 years ago

コンパイル時にエラーになりましたのでご報告いたします。 インストールを手伝った時にリモートで見かけたので環境が手元になく、なにかインストールの手違い等でしたらごめんなさい。

◇ Siv3D/include/Siv3D/Array.hppの2230行、 2301行、Returnに戻り値がなくエラーになってるような印象で下記のメッセージが出ました。

◇ Error message ../../Siv3D/include/Siv3D/Array.hpp:2230:5: error: return-statement with no value, in function returning ‘s3d::Array<Type, Allocator>&’ [-fpermissive] 2230 | return; | ^~ ../../Siv3D/include/Siv3D/Array.hpp: In member function ‘const s3d::Array<Type, Allocator>& s3d::Array<Type, Allocator>::parallel_each(Fty) const’: ../../Siv3D/include/Siv3D/Array.hpp:2301:5: error: return-statement with no value, in function returning ‘const s3d::Array<Type, Allocator>&’ [-fpermissive] 2301 | return; | ^~

環境:ubuntu

Reputeless commented 3 years ago

ご報告ありがとうございます!修正しました。

nekomimimi commented 3 years ago

ありがとうございますm( )m