Comments (4)
I think it's related to not having a regex impl for gcc <= 4.8: http://stackoverflow.com/questions/12530406/is-gcc-4-8-or-earlier-buggy-about-regular-expressions
@rdumusc correct me if I'm wrong and if there's another reason for choosing boost.regex here.
from servus.
GCC <= 4.8 isn't C++11 feature-complete anyway. GCC 4.8.1 is the first version which is: https://gcc.gnu.org/projects/cxx-status.html . It might be (IMO) better to put the boost stuff behind the SERVUS_USE_CXX03 ifdef, defining that automatically if the GCC version < 4.8.1.
from servus.
correct, when I last checked std::regex support was lacking in most implementations of the standard, but we should use it if in fact possible.
Otherwise, I agree that boost::regex should be an optional dependency. It is only used for printing a compatibility warning for the URI parsing, which I am not sure is even required any longer.
from servus.
Yes, implementation of std::regex_match comes with gcc 4.9 only (http://stackoverflow.com/questions/12530406/is-gcc-4-8-or-earlier-buggy-about-regular-expressions)
Added compiler guards to not include the warning when compiling without boost:
#61
from servus.
Related Issues (20)
- Missing stdexpect in Servus buld... HOT 1
- Submodule cmake-common should be included in the release package HOT 1
- Please provide license text in the release package HOT 1
- Do not hardoce libdir, detect it HOT 2
- Strange .so library version
- Please include the license text LGPLv3
- Please provide .desktop file
- cannot build if cloned as submodule
- how to get the port of a service?
- installs to /usr by default
- find_package(Servus) does not set Servus_FOUND
- Kernel protection failure when calling select() on a file descriptor larger than FD_SETSIZE
- Unable to build project on MacOS HOT 3
- [Feature] Add a static library configuration HOT 1
- Compile servus with avahi-client on ubuntu 16.04 HOT 3
- find_package(Servus REQUIRED) does not work correctly on windows. HOT 1
- Win/OSX : ninja : "no work to do", vs2017 project nothing happens HOT 2
- Method to resolve instance ip address from host HOT 1
- Android and iOS?
- using DNSServiceGetAddrInfo to resolve IP address from hostname (with interface specification) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servus.