Closed exchgr closed 9 years ago
@exchgr Would this successfully link to ZNC 1.4? I think it would require ZNC 1.5 which uses C++11 and supplies this flag already.
We can't just outright enable C++11 because there are people who don't have C++11 and want to use this with older versions of ZNC.
I have just pushed 0fa5d0e which adds a check for ZNC 1.5 before trying to use regex.
When trying to build, I encountered several errors complaining about which standard was being used:
This commit adds a CXXFLAGS option to use C++11, which fixes all the errors and enables the build to complete successfully.