История изменений
Исправление zaz, (текущая версия) :
C вашим примером:
$ g++ test.cpp -D_GLIBCXX_USE_CXX11_ABI=0 && ./a.out
8
$ g++ test.cpp -D_GLIBCXX_USE_CXX11_ABI=1 && ./a.out
32
$ gcc --version
gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Исходная версия zaz, :
C вашим примером:
$ g++ test.cpp -D_GLIBCXX_USE_CXX11_ABI=0 && ./a.out
8
$ g++ test.cpp -D_GLIBCXX_USE_CXX11_ABI=32 && ./a.out
32
$ gcc --version
gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.