Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthordion
    • CommentTimeJan 9th 2018 edited
     
    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.
    • CommentAuthorMatthias
    • CommentTime6 days ago
     

    Hi Dion,

    that should be fixed already. Please try to pull the master from GitHub: https://github.com/klayoutmatthias/klayout.

    I have not confirmed 64bit coordinate support myself, but I will do so.

    Thanks for reporting that issue.

    Kind regards,

    Matthias