Open emaxerrno opened 5 years ago
I can report this step is working with GCC-8 on ubunu 18.04
Your test doesn't compile because of a missing header, #include < iostream >. I perhaps could submit it to the mailing list for you.
@sassyn - yes, i said gcc-9 , gcc-8 has -lstdc++-fs
@kostja - the sample above has iostream include. It's not iostream that's the problem is the std::filesystem::filesystem_error
Thank you!
On Tue, 4 Jun 2019 at 23:59 Alexander Gallego notifications@github.com wrote:
@sassyn https://github.com/sassyn - yes, i said gcc-9 , gcc-8 has -lstdc++-fs @kostja https://github.com/kostja - the sample above has iostream include. It's not iostream that's the problem is the std::filesystem::filesystem_error
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/scylladb/seastar/issues/648?email_source=notifications&email_token=AAD2RF2QMTQ32KBMRXQBXI3PY3JUNA5CNFSM4HSYT3F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW53PAQ#issuecomment-498841474, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD2RFZXMOI24UPABBHF3CTPY3JUNANCNFSM4HSYT3FQ .
-- Regards,
Sassy Natan 972-(0)54-2203702
Adding a small modification to the std::filesystem test (
cmake/code_test/StdFilesystem_test.cc
) to trigger itThe issue is:
-DSeastar_CXX_DIALECT=c++14
to cmake w/ a machine that only has gcc-9 it will incorrectly configure the test as it is incompatible because -libstdc++-fs does not exist / not install when one doesdnf / apt-get install gcc-9
Note: I haven't tested using a machine w/ both gcc-8 and gcc-9