Skip to content

Commit

Permalink
bumped min C++ version from 11 to 17 in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Guiorgy authored and gittiver committed Feb 27, 2025
1 parent 7e66299 commit cfb4f4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/getting_started/setup/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Here's how you can install Crow on your favorite GNU/Linux distro.
## Getting Crow

### Requirements
- C++ compiler with at least C++11 support.
- C++ compiler with at least C++17 support.
- Asio development headers (1.10.9 or later).
- **(optional)** ZLib for HTTP Compression.
- **(optional)** OpenSSL for HTTPS support.
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started/setup/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ g++ main.cpp -lpthread

You can use arguments like `-DCROW_ENABLE_DEBUG`, `-DCROW_ENABLE_COMPRESSION -lz` for HTTP Compression, or `-DCROW_ENABLE_SSL -lssl` for HTTPS support, or even replace g++ with clang++.

If GCC throws errors and your program does not compile, you may be using C++03 instead of ≥C++11. Use the flag `-std=c++11`.
If GCC throws errors and your program does not compile, you may be using C++03 instead of ≥C++17. Use the flag `-std=c++17`.

0 comments on commit cfb4f4a

Please sign in to comment.