gcc6 from openSUSE:Leap:42.2:Update project
Select Your Operating System
Add repository and install manually
For standard run the following as root:
zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:42.2:Update/standard/openSUSE:Leap:42.2:Update.repo zypper refresh zypper install gcc6
For ports run the following as root:
zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:42.2:Update/ports/openSUSE:Leap:42.2:Update.repo zypper refresh zypper install gcc6