diff options
author | tastytea | 2020-01-17 17:29:44 +0100 |
---|---|---|
committer | tastytea | 2020-01-17 17:29:44 +0100 |
commit | d8582f33c11f83adbd6a7bd55443b7a3a857c047 (patch) | |
tree | e4ed5e4d2e51826bc9ed7196abe9c6ceaab3f134 | |
parent | dc706ab41ffbbc805770ce9f8b80e59eedf11dc1 (diff) | |
download | mastodonpp-d8582f33c11f83adbd6a7bd55443b7a3a857c047.tar mastodonpp-d8582f33c11f83adbd6a7bd55443b7a3a857c047.tar.gz mastodonpp-d8582f33c11f83adbd6a7bd55443b7a3a857c047.zip |
Mention the dependency on C++17.
-rw-r--r-- | README.adoc | 3 | ||||
-rw-r--r-- | include/mastodonpp.hpp | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/README.adoc b/README.adoc index 100bd00..2844ea7 100644 --- a/README.adoc +++ b/README.adoc @@ -107,7 +107,8 @@ yum install ./libmastodonpp*.rpm ==== Dependencies * Tested OS: Linux -* C++ compiler (tested: link:{uri-gcc}[GCC] 7/8/9, link:{uri-clang}[clang] 6/7) +* C\++ compiler with C++17 support (tested: link:{uri-gcc}[GCC] 7/8/9, + link:{uri-clang}[clang] 6/7) * link:{uri-cmake}[CMake] (at least: 3.9) * link:{uri-libcurl}[libcurl] (at least: 7.56) * Optional diff --git a/include/mastodonpp.hpp b/include/mastodonpp.hpp index d9655b3..16a7dd5 100644 --- a/include/mastodonpp.hpp +++ b/include/mastodonpp.hpp @@ -46,6 +46,9 @@ * * Or compile your code with `g++ $(pkg-config --cflags --libs mastodonpp)`. * + * Since we use C++17 features in the headers of this library, your program + * needs to be compiled as C++17 or higher too. + * * @subsection example Example * * @code |