You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of August 2017, the release date of gcc v7.2, the C++17 standard was still in draft form. The gcc v7 manual (https://gcc.gnu.org/gcc-7/changes.html) states that:
The C++ front end has experimental support for all of the current C++17 draft with the -std=c++1z
Under these conditions, this is no surprise that croncpp does not compile with gcc v7. With recent gcc versions, the -std=c++1z flag (now equivalent to -std=c++17) succeed to compile the aformentionned main.cpp.
Hi, i've encountered some complie error when i passed
c++1z option
to a complier.My
main.cpp
is simple as below.But when I tried to compile this like below, some error occured.
Without the
--std=c++1z
option, it complied without any complaints.My complier version is
gcc version 7.2.1 20170829 (Red Hat 7.2.1-1) (GCC)
The text was updated successfully, but these errors were encountered: