File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -319,9 +319,10 @@ The following are dependencies for all builds of Solidity:
319
319
+-----------------------------------+-------------------------------------------------------+
320
320
| Software | Notes |
321
321
+===================================+=======================================================+
322
- | `CMake `_ (version 3.13+) | Cross-platform build file generator. |
322
+ | `CMake `_ (version 3.21.3+ on | Cross-platform build file generator. |
323
+ | Windows, 3.13+ otherwise) | |
323
324
+-----------------------------------+-------------------------------------------------------+
324
- | `Boost `_ (version 1.77+ on | C++ libraries. |
325
+ | `Boost `_ (version 1.77 on | C++ libraries. |
325
326
| Windows, 1.65+ otherwise) | |
326
327
+-----------------------------------+-------------------------------------------------------+
327
328
| `Git `_ | Command-line tool for retrieving source code. |
@@ -408,7 +409,7 @@ You need to install the following dependencies for Windows builds of Solidity:
408
409
+-----------------------------------+-------------------------------------------------------+
409
410
| `Visual Studio 2019 `_ (Optional) | C++ compiler and dev environment. |
410
411
+-----------------------------------+-------------------------------------------------------+
411
- | `Boost `_ (version 1.77+) | C++ libraries. |
412
+ | `Boost `_ (version 1.77) | C++ libraries. |
412
413
+-----------------------------------+-------------------------------------------------------+
413
414
414
415
If you already have one IDE and only need the compiler and libraries,
Original file line number Diff line number Diff line change @@ -220,8 +220,12 @@ vector<boost::filesystem::path> LanguageServer::allSolidityFilesFromProject() co
220
220
221
221
// We explicitly decided against including all files from include paths but leave the possibility
222
222
// open for a future PR to enable such a feature to be optionally enabled (default disabled).
223
-
223
+ // Note: Newer versions of boost have deprecated symlink_option::recurse
224
+ #if (BOOST_VERSION < 107200)
225
+ auto directoryIterator = fs::recursive_directory_iterator (m_fileRepository.basePath (), fs::symlink_option::recurse);
226
+ #else
224
227
auto directoryIterator = fs::recursive_directory_iterator (m_fileRepository.basePath (), fs::directory_options::follow_directory_symlink);
228
+ #endif
225
229
for (fs::directory_entry const & dirEntry: directoryIterator)
226
230
if (
227
231
dirEntry.path ().extension () == " .sol" &&
Original file line number Diff line number Diff line change 41
41
#include < libsolutil/vector_ref.h>
42
42
43
43
#include < boost/version.hpp>
44
- #if (BOOST_VERSION < 106500)
45
- #error "Unsupported Boost version. At least 1.65 required."
46
- #endif
47
44
48
45
#include < map>
49
46
#include < utility>
Original file line number Diff line number Diff line change 25
25
#include < libsolutil/CommonData.h>
26
26
27
27
#include < boost/version.hpp>
28
- #if (BOOST_VERSION < 106500)
29
- #error "Unsupported Boost version. At least 1.65 required."
30
- #endif
31
28
32
29
// TODO: do this only conditionally as soon as a boost version with gcc 12 support is released.
33
30
#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ >= 12)
You can’t perform that action at this time.
0 commit comments