LaKabane / libtuntap

The portable Tun/Tap devices configuration utility
193 stars 63 forks source link

Add compiler flag '-std=c++11' if ENABLE_CXX is on #5

Closed mzanella closed 6 years ago

mzanella commented 6 years ago

Hi,

using the compiler g++ (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609, the make command failed. To fix it I have added the flag -std=c++11 if the cmake flag ENABLE_CXX is on.

tleguern commented 6 years ago

What do you think @chipot ? We discussed it off-github a few moment ago. On my side it doesn't affect the build on OpenBSD.

tleguern commented 6 years ago

It unbreaks the build of tuntap++ on NetBSD.

chipot commented 6 years ago

Thanks for the change. :)