wareHHOuse / diskpp

DiSk++, a C++ library for Hybrid High-Order (HHO) and Discontinuous Galerkin skeletal methods
Other
14 stars 11 forks source link

Fix compilation error with gcc8.3 #76

Closed npaster closed 3 years ago

npaster commented 3 years ago

Everything compile on debian 9 with gcc8.3 now

datafl4sh commented 3 years ago

Hello Nicolas, This correction shouldn't be needed, gcc 8.3 should compile this code without problems since the syntax I used is legal C++20 (actually recently I am developing precisely with gcc8.3). Maybe the actual problem is that C++20 is not enabled for those targets; I prepare a branch with the correct modifications so you can test later.

npaster commented 3 years ago

Hello Matteo,

This syntax is legal but I have a conflict at the compilation time with copy constructor.

Maybe the problem comes from that we use c++17 (and not c++20) and (I am on Debian 9)

Nicolas

Le 17 nov. 2020 à 09:13, datafl4sh notifications@github.com a écrit :

Hello Nicolas, This correction shouldn't be needed, gcc 8.3 should compile this code without problems since the syntax I used is legal C++20 (actually recently I am developing precisely with gcc8.3). Maybe the actual problem is that C++20 is not enabled for those targets; I prepare a branch with the correct modifications so you can test later.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/wareHHOuse/diskpp/pull/76#issuecomment-728763573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFYWWOIKNNF3HWHSGC52WLTSQIWAZANCNFSM4TXVW4BA.