summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/clang/0008-clang-Default-to-gnu-14-for-c-standard.patch
Commit message (Collapse)AuthorAgeFilesLines
* clang: Switch c++ default to gnu++14 standardKhem Raj2017-09-241-0/+28
| | | | | | | | | | | | | | | Using cmdline options -std doesnt always work e.g. boost where it uses c++ driver (clang++) to invoke compilation but then passes '-x c' to choose the language for compilation Which ends in errors like below error: invalid argument '-std=c++14' not allowed with 'C' Therefore change the defaults in driver itself to use gnu++14 which is default with g++ from gcc7+ too. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Revert back to gnu++98 as defaultKhem Raj2017-08-131-28/+0
| | | | | | | | many packages need fixing for true c++11 and newer standard, may be eventually they will reach there for now lets keep the defaults as it is Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Switch c++ default to gnu++14 standardKhem Raj2017-08-121-0/+28
Using cmdline options -std doesnt always work e.g. boost where it uses c++ driver (clang++) to invoke compilation but then passes '-x c' to choose the language for compilation Which ends in errors like below error: invalid argument '-std=c++14' not allowed with 'C' Therefore change the defaults in driver itself to use gnu++14 which is default with g++ from gcc7+ too. Signed-off-by: Khem Raj <raj.khem@gmail.com>