Re: [cfe-users] help with linux setup and clang-6

2018-09-01 Thread Csaba Raduly via cfe-users
Hi Milan, On Sat, Sep 1, 2018 at 1:11 AM, Milan Andric via cfe-users wrote: (snip) > > Test program: > > ```test.cpp > #include > int main() > { > std::optional o1; > } > ``` > > Error I am having below. I tried with a few different flags but always with > the same failure. > > ``` > $ clang+

Re: [cfe-users] help with linux setup and clang-6

2018-08-31 Thread Milan Andric via cfe-users
Well I'll be damned, tried it on Bionic (Ubuntu 18) and it seems to work just fine: ``` curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main" sudo apt-get update sudo apt-get install -y clang