Re: [PATCH 20/23] gcc-plugins: always build plugins with C++

2018-02-23 Thread Masahiro Yamada
2018-02-23 3:45 GMT+09:00 Emese Revfy : > On Sat, 17 Feb 2018 03:38:48 +0900 > Masahiro Yamada wrote: > >> If the target compiler is GCC 4.8 or newer, plugins are compiled with >> HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX.

Re: [PATCH 20/23] gcc-plugins: always build plugins with C++

2018-02-23 Thread Masahiro Yamada
2018-02-23 3:45 GMT+09:00 Emese Revfy : > On Sat, 17 Feb 2018 03:38:48 +0900 > Masahiro Yamada wrote: > >> If the target compiler is GCC 4.8 or newer, plugins are compiled with >> HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX. >> >> To simpily things, let's decide GCC 4.8 is

Re: [PATCH 20/23] gcc-plugins: always build plugins with C++

2018-02-22 Thread Emese Revfy
On Sat, 17 Feb 2018 03:38:48 +0900 Masahiro Yamada wrote: > If the target compiler is GCC 4.8 or newer, plugins are compiled with > HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX. > > To simpily things, let's decide GCC 4.8 is the requirement for

Re: [PATCH 20/23] gcc-plugins: always build plugins with C++

2018-02-22 Thread Emese Revfy
On Sat, 17 Feb 2018 03:38:48 +0900 Masahiro Yamada wrote: > If the target compiler is GCC 4.8 or newer, plugins are compiled with > HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX. > > To simpily things, let's decide GCC 4.8 is the requirement for GCC > pulgins. With this,

[PATCH 20/23] gcc-plugins: always build plugins with C++

2018-02-16 Thread Masahiro Yamada
If the target compiler is GCC 4.8 or newer, plugins are compiled with HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX. To simpily things, let's decide GCC 4.8 is the requirement for GCC pulgins. With this, plugins are always built with HOSTCXX. This is a feature of advanced

[PATCH 20/23] gcc-plugins: always build plugins with C++

2018-02-16 Thread Masahiro Yamada
If the target compiler is GCC 4.8 or newer, plugins are compiled with HOSTCXX. Otherwise, gcc-plugin.sh will select HOSTCC or HOSTCXX. To simpily things, let's decide GCC 4.8 is the requirement for GCC pulgins. With this, plugins are always built with HOSTCXX. This is a feature of advanced