Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the twentyfifteen domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/sunapi386.ca/wordpress/wp-includes/functions.php on line 6121
Install g++-8 compiler – sunapi386's Blog

Install g++-8 compiler

The new C++17 language requires g++ >= 8.0. To install it in Ubuntu 18.04:

$ sudo apt install g++-8
...
$ which g++
/usr/bin/g++
$ which g++-8
/usr/bin/g++-8
$ sudo unlink g++
$ sudo link -s /usr/bin/g++-8 /usr/bin/g++
$ g++ --version
g++ (Ubuntu 8.2.0-1ubuntu2~18.04) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Leave a Reply

Your email address will not be published. Required fields are marked *