klayout 0.25 failed to compile with HAVE_64BIT_COORD

edited January 2018 in KLayout Development
Hi,
I downloaded tar file of klayout 0.25 and finished to compile under linux.

However, I failed to compile it with HAVE_64BIT_COORD=1 .

Error massages:

../../../src/tl/tl/tlVariant.cc:1643:14: warning: ISO C++ does not support '__int128' for 'l' [-Wpedantic]
__int128 l = 0;
^
../../../src/tl/tl/tlVariant.cc:1649:14: warning: ISO C++ does not support '__int128' for 'l' [-Wpedantic]
__int128 l = 0;
^
../../../src/tl/tl/tlVariant.cc: In member function 'QVariant tl::Variant::to_qvariant() const':
../../../src/tl/tl/tlVariant.cc:2192:37: error: 'const union tl::Variant::ValueHolder' has no member named 'm_m128'; did you mean 'm_int128'?
return QVariant ((double) m_var.m_m128);
^~~~~~
../../../src/tl/tl/tlVariant.cc: In function 'bool tl::test_extractor_impl(tl::Extractor&, T&) [with T = tl::Variant]':
../../../src/tl/tl/tlVariant.cc:2385:14: warning: ISO C++ does not support '__int128' for 'x' [-Wpedantic]
__int128 x = 0;
^
make[2]: *** [Makefile:624: tlVariant.o] Error 1
make[2]: Leaving directory '/src/klayout/klayout-0.25/build_64/tl/tl'

I use gcc 6.3

[klayout-0.25]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tools/openLayout/build_201706/libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/tools/openLayout/build_201706 --with-local-prefix=/tools/openLayout/build_201706 --with-native-system-header-dir=/tools/openLayout/build_201706/include --enable-languages=c,c++,fortran --disable-multilib --disable-bootstrap --with-system-zlib
Thread model: posix
gcc version 6.3.0 (GCC)

Any idea about this? Thanks.

Comments

Sign In or Register to comment.