Why didn't my cPP code pass the clion compilation on the linux platform?

at first I found that it was a bug, that appeared in a low version of gcc. When I upgraded gcc, it could be compiled under the command line, but it failed in clion. How to adjust it in clion.

-sharpinclude <iostream>

void print() {

}

template <class T, class ...Args>
void print(T head, Args... rest) {
    std::cout << head << std::endl;
    print(rest...);
}

template <typename ...Args>
void info(Args... rest) {
    auto lmb = [=]() {
        print(rest...);
    };
    lmb();
};


int main() {
    //error: expansion pattern "rest" contains no arument packs
    info("asdfdasf", "asdfsdf");
    return 0;
}
Mar.02,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bddba1-313b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bddba1-313b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?