KOPANO 8.6.80 source compilation error



  • Hi,

    I try to compile kopano core nigthly build get this morning from

    https://download.kopano.io/community/core:/sourcecode/

    After Jsonccp (1.6.5) installation I’ve got the following error

    CXX common/ConsoleTable.lo
    In file included from common/ConsoleTable.cpp:18:0:
    ./common/include/kopano/platform.h:204:46: error: missing space between ‘""’ and suffix identifier
    static constexpr inline std::chrono::seconds operator""s(unsigned long long x) { return std::chrono::seconds{x}; }
    ^
    ./common/include/kopano/platform.h:205:28: error: expected ‘}’ before end of line

    pragma GCC diagnostic pop

                            ^
    

    ./common/include/kopano/platform.h:205:28: error: expected ‘}’ before end of line
    ./common/include/kopano/platform.h:205:28: error: expected declaration before end of line
    make[2]: *** [common/ConsoleTable.lo] Error 1

    Kopano core 8.5.8 is compiled with success

    Any idea of missing wron/missing package ?

    My machine is already running kopano 8.4

    My linux is slackware version kernel 4.10.16, cpp (gcc) 4.8.2

    thank in advance


  • Translator

    @rpatw said in KOPANO 8.6.80 source compilation error:

    My linux is slackware version kernel 4.10.16, cpp (gcc) 4.8.2

    Support for GCC 4.8 has been dropped. Suggest you upgrade to GCC 6 or 7.

    Bo