On Mon, 26 Nov 2018 at 12:52, Adrian Bunk <b...@debian.org> wrote:
>
> Control: forwaded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28314
>
> On Mon, Nov 26, 2018 at 12:28:28PM +0000, Dimitri John Ledkov wrote:
> > xnox@diamond:~$ g++ -std=c++14 -dM -E -x c++ - < /dev/null | grep linux
> > #define __linux__ 1
> > #define __gnu_linux__ 1
> >
> > xnox@diamond:~$ g++ -std=gnu++14 -dM -E -x c++ - < /dev/null | grep linux
> > #define __linux 1
> > #define __linux__ 1
> > #define __gnu_linux__ 1
> > #define linux 1
> >
> > The same is not observed on other architectures. And for some reason,
> > boost cares about "linux" or "__linux", and is not sensitive to
> > "__linux__" nor "__gnu_linux__".
>
> https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1349907/comments/1

=)))))) thanks for this, that's funny.

-- 
Regards,

Dimitri.

Reply via email to