{"action":"created","issue":{"url":"https://api.github.com/repos/kimwalisch/primesieve/issues/51","repository_url":"https://api.github.com/repos/kimwalisch/primesieve","labels_url":"https://api.github.com/repos/kimwalisch/primesieve/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/kimwalisch/primesieve/issues/51/comments","events_url":"https://api.github.com/repos/kimwalisch/primesieve/issues/51/events","html_url":"https://github.com/kimwalisch/primesieve/issues/51","id":308318275,"number":51,"title":"Trouble Compiling on MinGW","user":{"login":"c4n10","id":2446254,"avatar_url":"https://avatars1.githubusercontent.com/u/2446254?v=4","gravatar_id":"","url":"https://api.github.com/users/c4n10","html_url":"https://github.com/c4n10","followers_url":"https://api.github.com/users/c4n10/followers","following_url":"https://api.github.com/users/c4n10/following{/other_user}","gists_url":"https://api.github.com/users/c4n10/gists{/gist_id}","starred_url":"https://api.github.com/users/c4n10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c4n10/subscriptions","organizations_url":"https://api.github.com/users/c4n10/orgs","repos_url":"https://api.github.com/users/c4n10/repos","events_url":"https://api.github.com/users/c4n10/events{/privacy}","received_events_url":"https://api.github.com/users/c4n10/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"kimwalisch","id":4656219,"avatar_url":"https://avatars3.githubusercontent.com/u/4656219?v=4","gravatar_id":"","url":"https://api.github.com/users/kimwalisch","html_url":"https://github.com/kimwalisch","followers_url":"https://api.github.com/users/kimwalisch/followers","following_url":"https://api.github.com/users/kimwalisch/following{/other_user}","gists_url":"https://api.github.com/users/kimwalisch/gists{/gist_id}","starred_url":"https://api.github.com/users/kimwalisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimwalisch/subscriptions","organizations_url":"https://api.github.com/users/kimwalisch/orgs","repos_url":"https://api.github.com/users/kimwalisch/repos","events_url":"https://api.github.com/users/kimwalisch/events{/privacy}","received_events_url":"https://api.github.com/users/kimwalisch/received_events","type":"User","site_admin":false},"assignees":[{"login":"kimwalisch","id":4656219,"avatar_url":"https://avatars3.githubusercontent.com/u/4656219?v=4","gravatar_id":"","url":"https://api.github.com/users/kimwalisch","html_url":"https://github.com/kimwalisch","followers_url":"https://api.github.com/users/kimwalisch/followers","following_url":"https://api.github.com/users/kimwalisch/following{/other_user}","gists_url":"https://api.github.com/users/kimwalisch/gists{/gist_id}","starred_url":"https://api.github.com/users/kimwalisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimwalisch/subscriptions","organizations_url":"https://api.github.com/users/kimwalisch/orgs","repos_url":"https://api.github.com/users/kimwalisch/repos","events_url":"https://api.github.com/users/kimwalisch/events{/privacy}","received_events_url":"https://api.github.com/users/kimwalisch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-25T03:13:17Z","updated_at":"2018-03-25T11:40:53Z","closed_at":"2018-03-25T11:40:53Z","author_association":"NONE","body":"Hello,\r\n\r\nI am trying to compile on MinGW and the basic build instructions are not working.\r\n\r\nIf I run:\r\ncmake .\r\nmake -j\r\nfrom the root directory it gives this error:\r\nmake: *** No targets specified and no makefile found.  Stop.\r\n\r\nI was able to work around that by:\r\ncd cmake\r\ncmake .. -G\"Unix Makefiles\"\r\n\r\nHowever now when I run make -j I am receiving these errors:\r\n$ make -j\r\nScanning dependencies of target libprimesieve-static\r\n[  4%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/api-c.cpp.obj\r\n[  9%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/api.cpp.obj\r\n[ 13%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/CpuInfo.cpp.obj\r\n[ 18%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/EratBig.cpp.obj\r\n[ 22%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/EratMedium.cpp.obj\r\n[ 27%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/EratSmall.cpp.obj\r\n[ 31%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/iterator-c.cpp.obj\r\n[ 36%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/nthPrime.cpp.obj\r\n[ 40%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/iterator.cpp.obj[ 45%]\r\nBuilding CXX object CMakeFiles/libprimesieve-static.dir/src/ParallelPrimeSieve.cpp.obj\r\n[ 50%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/popcount.cpp.obj\r\n[ 54%] [ 59%] [ 68%] [ 68%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/PrimeSieve.cpp.obj\r\nBuilding CXX object CMakeFiles/libprimesieve-static.dir/src/PreSieve.cpp.obj[ 72%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/PrimeGenerator.cpp.obj\r\n\r\n[ 77%] Building CXX object CMakeFiles/libprimesieve-static.dir/src/SieveOfEratosthenes.cpp.objBuilding CXX object CMakeFiles/libprimesieve-static.dir/src/Wheel.cpp.objBuilding CXX object CMakeFiles/libprimesieve-static.dir/src/SievingPrimes.cpp.obj\r\n\r\n\r\nC:/InIMi nnfG IifnlWi e/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp: In member function 'void primesieve::CpuInfo::initCache()':\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:189:36: warning: '__stdcall__' attribute only applies to function types [-Wattributes]\r\nlf   typedef BOOL (WINAPI *LPFN_GLPI)(PSYSTEM_ LOGICAL_PROCESSOR_INFORMATION, PDWORD);\r\n                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:189:36: error: typedef 'LPFN_GLPI' is initialized (use decltype instead)\r\neiC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:189:36: error: 'PSYSTEM_LOGICAL_PROCESSOR_INFORMATION' was not declared in this scope\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:189:81: error: expected primary-expression befiore ')' token\r\n   typedef BOOL (WINAPI *LPFN_GLPI)(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION, PDWORD);\r\n                                                                                 ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:191:3: error: 'LPFN_GLPI' was not declared in this scope\r\n l   LPFN_GLPI glpi = (LPFN_GLPI) GetProcAddress(GetModuleHandle(TEXT(\"kernel32\")), \"GetLogicalProcessorInformation\");\r\n   ^~~~~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:193:8: error: 'glpi' was not declared in this scope\r\n   if (!glpi)\r\n        ^~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfon.cpp:197:17: error: 'glpi' was not declared in this scope\r\n   glpi(0, &bytes);\r\n                 ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:203:32: error: 'SYSTEM_LOGICAL_PROCESSOR_INFORMATION' was not declared in this scope\r\n   size_t size = bytes / sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION);\r\n                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ie~~~~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:204:10: error: the value of 'SYSTEM_LOGICAL_PROCESSOR_INFORMATIONc' is not usable in a constant expression\r\n   vector<SYSTEM_LOGICAL_PROCESSOR_INFORMATION> info(size);\r\n          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:203:32: note: 'SYSTEM_LOGICAL_PROCESSOR_INFORMATION' was not declared 'constexpr'\r\n   size_t size = bytes / sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION);\r\n                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nn C:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:204:46: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'\r\nl   vector<SYSTEM_LOGICAL_PROCESSOR_INFORMATION> info(size);\r\n                                              ^\r\nC:/MicnGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:204:46: note:   expected a type, got 'SYSTEM_LOGICAL_PROCESSOR_IiuNFORMATION'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:204:46: error: template argument 2 is invalid\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:206:20: error: invalid types 'int[int]' for array subscript\r\n l  if (!glpi(&info[0], &bytes))\r\nnd                    ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:211:15: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n     if (info[i].Relationship == RelationProcessorCore)\r\n               ^\r\nCu:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:211:33: error: 'RelationProcessorCore' was not declared in this scope\r\n     if (info[i].Relationship == RelationProcessorCore)\r\n                                 ^~~~~~~~~~~~~~~~~~~~~\r\nceC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpdp:213:25: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n       auto mask = info[i].ProcessorMask;\r\n                         ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/srlc/CpuInfo.cpp:222:15: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n     if (info[i].Reldaeu tionsddfhip == RelationCache &&\r\n               ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src er/CpuInfo.cpp:222:33: error: 'RelationCache'fdo was not declared in this scope\r\n     if (info[i].Relationship == RelationCache &&\r\n                                 ^~~~~~~~~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesiever m/src/CpuInfo.cpp:223:16: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n         (info[i].Cache.Type == CacheData ||\r\n                ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:223:32: error: 'CacheData' was not declared in this scope\r\n of         (info[i].Cache.Type == CacheData ||\r\n                                ^~~~~~~~~\r\nmrCC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:224:16: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n          info[i].Cache. o:Type == CacheUnified))\r\n                ^\r\nC:/MinGW/msys/1.0/home/c4n10/primeCm/sieve/s: Mrc/CpuInfo.cCip/p:224:32: error: 'CacheUnified' was not declared in this scope\r\n          info[i].Cache.Ty:nM/GiMWni/GnmWGs/Wym/ssm/ys1sy./s01//.1h0.o/0mh/eoh/mocem4/enc/14c0n4/1np01r/0ip/mrpeirsmiiemeseviseei/vesevr/ecs//rsacrp/cia/.pPciap-rpca:.l1cl7pe:ppe == CacheUnified))\r\n                                ^~~~~~~~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:226:17: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n       if (info[i].Cache.Level == 1)\r\n                 ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.c0l:pp:227:30: error: invalid types 'int[size_t {aka unsigned int}]' f:P1or array subscript\r\n         l1CacheSize_ = info[i].Cache.Size;\r\n                              ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:228:17: error: invalid types 'int[size_t {aka unsigned int}]' for\r\nr6 array subscript\r\n       if (info[i].Cache.Level == 2)\r\n                 ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:229:30: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n         l2CacheSize_ = info[i].Cache.Size;\r\n                              ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:233:17: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n       if (info[i].Cache.Level == 3 &&\r\n                 ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/CpuInfo.cpp:234:17: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript\r\n           info[i].Cache.Size > 0)\r\n                 ^\r\ni:Cm0:e:/S\r\nieCnmake[2]: v:G*** [CMakeFiles/libprimesieve-static.dir/src/CpuInfo.cpp.obj] Error 1e/W.M/\r\nspmake[2]: Gy:W*** Waiting for unfinished jobs....\r\n/2m1:s.0y0:s/\r\n1oC.m:0e///Mhcio4nmnGe1W/0/c/m4psnry1is0m//e1ps.ri0ie/mvheeos/miieen/vccel4/unid1ne0c//lppurrdiiemm/eepssriiieemvveees//iPieanvrceal/luPldaeerl/aPplrrliiemmleePSsriiieemvveeeS./ihPepavpre:a.4lh7lp:ep8l::P4 r7ei:rm8re:oS rie:er vr'eom.ruh:tp ep'x:m'4u 7ti:en8x :'n  aeimrner sonpraa:mc ee's mp'uastcteedx '''  sditonde 'sn  adnmooeetss p nanacomete   'nasa tmtdey' p aed\r\ney sp  e n\r\ntt d  :n :asmmtuedt :ea:x m tulytopecexk\r\nl; o\r\n k s_ t; d\r\n :  m  u  t ^e ~x ~  ~l ~o^\r\nk~_~;~\r\n\r\n        ^~~~~\r\nmake[2]: *** [CMakeFiles/libprimesieve-static.dir/src/api.cpp.obj] Error 1\r\nmake[2]: *** [CMakeFiles/libprimesieve-static.dir/src/api-c.cpp.obj] Error 1\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp: In static member function 'static int primesieve::ParallelPrimeSieve::getMaxThreads()':\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:59:22: error: 'thread' has not been declared\r\n   return max<int>(1, thread::hardware_concurrency());\r\n                      ^~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp: In member function 'virtual void primesieve::ParallelPrimeSieve::sieve()':\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:169:53: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n       futures.emplace_back(async(launch::async, task));\r\n                                                     ^\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:172:19: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n       counts_ += f.get();\r\n                   ^\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp: In member function 'virtual bool primesieve::ParallelPrimeSieve::updateStatus(uint64_t, bool)':\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:194:15: error: 'mutex' was not declared in this scope\r\n   unique_lock<mutex> lock(lock_, defer_lock);\r\n               ^~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:194:20: error: template argument 1 is invalid\r\n   unique_lock<mutex> lock(lock_, defer_lock);\r\n                    ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:194:27: error: 'lock_' was not declared in this scope\r\n   unique_lock<mutex> lock(lock_, defer_lock);\r\n                           ^~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:194:44: error: expression list treated as compound expression in initializer [-fpermissive]\r\n   unique_lock<mutex> lock(lock_, defer_lock);\r\n                                            ^\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:197:10: error: request for member 'try_lock' in 'lock', which is of non-class type 'int'\r\n     lock.try_lock();\r\n          ^~~~~~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:199:10: error: request for member 'lock' in 'lock', which is of non-class type 'int'\r\n     lock.lock();\r\n          ^~~~\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:201:12: error: request for member 'owns_lock' in 'lock', which is of non-class type 'int'\r\n   if (lock.owns_lock())\r\n            ^~~~~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:69:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc: In instantiation of 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]':\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:166:28:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:80:4: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n    this->_M_impl._M_end_of_storage\r\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    - this->_M_impl._M_start);\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:69:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:82:36: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n    this->_M_impl._M_finish = __tmp + __old_size;\r\n                              ~~~~~~^~~~~~~~~~~~\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:69:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:83:61: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n    this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n;\r\n                                      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_algobase.h:67:0,\r\n                 from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:60,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_iterator.h: In instantiation of '__gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++() [with _Iterator = std::future<std::vector<long long unsigned int> >*; _Container = std::vector<std::future<std::vector<long long unsigned int> > >]':\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:171:20:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_iterator.h:799:2: error: cannot increment a pointer to incomplete type 'std::future<std::vector<long long unsigned int> >'\r\n  ++_M_current;\r\n  ^~~~~~~~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:64:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >]':\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:259:15:   required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >]'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:165:30:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:161:9: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n       { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage\r\n                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n         - this->_M_impl._M_start); }\r\n         ^~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:64:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h: In instantiation of 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::capacity() const [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]':\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:70:28:   required from 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:166:28:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:737:5: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n       { return size_type(this->_M_impl._M_end_of_storage\r\n                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n     - this->_M_impl._M_start); }\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:64:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h: In instantiation of 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]':\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:72:37:   required from 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:166:28:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:656:50: error: invalid use of incomplete type 'class std::future<std::vector<long long unsigned int> >'\r\n       { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }\r\n                          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'class std::future<std::vector<long long unsigned int> >'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:62:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::future<std::vector<long long unsigned int> >*]':\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_construct.h:151:15:   required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = std::future<std::vector<long long unsigned int> >*; _Tp = std::future<std::vector<long long unsigned int> >]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:426:22:   required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >]'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:165:30:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_construct.h:127:11: error: invalid use of incomplete type 'std::iterator_traits<std::future<std::vector<long long unsigned int> >*>::value_type {aka class std::future<std::vector<long long unsigned int> >}'\r\n       std::_Destroy_aux<__has_trivial_destructor(_Value_type)>::\r\n       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  __destroy(__first, __last);\r\n  ~~~~~~~~~^~~~~~~~~~~~~~~~~\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'std::iterator_traits<std::future<std::vector<long long unsigned int> >*>::value_type {aka class std::future<std::vector<long long unsigned int> >}'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\mingw32\\bits\\c++allocator.h:33:0,\r\n                 from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\allocator.h:46,\r\n                 from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:61,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\ext\\new_allocator.h: In instantiation of '__gnu_cxx::new_allocator<_Tp>::size_type __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = std::future<std::vector<long long unsigned int> >; __gnu_cxx::new_allocator<_Tp>::size_type = unsigned int]':\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\alloc_traits.h:476:29:   required from 'static std::allocator_traits<std::allocator<_Tp1> >::size_type std::allocator_traits<std::allocator<_Tp1> >::max_size(const allocator_type&) [with _Tp = std::future<std::vector<long long unsigned int> >; std::allocator_traits<std::allocator<_Tp1> >::size_type = unsigned int; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::future<std::vector<long long unsigned int> > >]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:661:39:   required from 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::max_size() const [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:68:15:   required from 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:166:28:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\ext\\new_allocator.h:114:35: error: invalid application of 'sizeof' to incomplete type 'std::future<std::vector<long long unsigned int> >'\r\n       { return size_t(-1) / sizeof(_Tp); }\r\n                                   ^\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:63:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<std::future<std::vector<long long unsigned int> >*>; _ForwardIterator = std::future<std::vector<long long unsigned int> >*]':\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_uninitialized.h:281:37:   required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<std::future<std::vector<long long unsigned int> >*>; _ForwardIterator = std::future<std::vector<long long unsigned int> >*; _Tp = std::future<std::vector<long long unsigned int> >]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:1225:35:   required from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(std::vector<_Tp, _Alloc>::size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::move_iterator<std::future<std::vector<long long unsigned int> >*>; _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::pointer = std::future<std::vector<long long unsigned int> >*; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:75:70:   required from 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:166:28:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_uninitialized.h:124:12: error: invalid use of incomplete type 'std::__iterator_traits<std::move_iterator<std::future<std::vector<long long unsigned int> >*>, void>::value_type {aka class std::future<std::vector<long long unsigned int> >}'\r\n            && __is_trivial(_ValueType2)\r\n\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'std::__iterator_traits<std::move_iterator<std::future<std::vector<long long unsigned int> >*>, void>::value_type {aka class std::future<std::vector<long long unsigned int> >}'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:63:0,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_uninitialized.h:124:12: error: invalid use of incomplete type 'std::iterator_traits<std::future<std::vector<long long unsigned int> >*>::value_type {aka class std::future<std::vector<long long unsigned int> >}'\r\n            && __is_trivial(_ValueType2)\r\n\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:115:11: note: declaration of 'std::iterator_traits<std::future<std::vector<long long unsigned int> >*>::value_type {aka class std::future<std::vector<long long unsigned int> >}'\r\n     class future;\r\n           ^~~~~~\r\nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\mingw32\\bits\\c++allocator.h:33:0,\r\n                 from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\allocator.h:46,\r\n                 from c:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\vector:61,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/PrimeSieve.hpp:17,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/include/primesieve/ParallelPrimeSieve.hpp:15,\r\n                 from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:12:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\ext\\new_allocator.h: In instantiation of '_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(__gnu_cxx::new_allocator<_Tp>::size_type, const void*) [with _Tp = std::future<std::vector<long long unsigned int> >; __gnu_cxx::new_allocator<_Tp>::pointer = std::future<std::vector<long long unsigned int> >*; __gnu_cxx::new_allocator<_Tp>::size_type = unsigned int]':\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\alloc_traits.h:416:32:   required from 'static _Tp* std::allocator_traits<std::allocator<_Tp1> >::allocate(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, std::allocator_traits<std::allocator<_Tp1> >::size_type) [with _Tp = std::future<std::vector<long long unsigned int> >; std::allocator_traits<std::allocator<_Tp1> >::pointer = std::future<std::vector<long long unsigned int> >*; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::future<std::vector<long long unsigned int> > >; std::allocator_traits<std::allocator<_Tp1> >::size_type = unsigned int]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:170:33:   required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::_Vector_base<_Tp, _Alloc>::pointer = std::future<std::vector<long long unsigned int> >*; std::size_t = unsigned int]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\stl_vector.h:1222:44:   required from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(std::vector<_Tp, _Alloc>::size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::move_iterator<std::future<std::vector<long long unsigned int> >*>; _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::pointer = std::future<std::vector<long long unsigned int> >*; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\bits\\vector.tcc:75:70:   required from 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::future<std::vector<long long unsigned int> >; _Alloc = std::allocator<std::future<std::vector<long long unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = unsigned int]'\r\nC:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:166:28:   required from here\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\ext\\new_allocator.h:104:54: error: invalid application of 'sizeof' to incomplete type 'std::future<std::vector<long long unsigned int> >'\r\n  return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));\r\n                                                      ^\r\nIn file included from C:/MinGW/msys/1.0/home/c4n10/primesieve/src/ParallelPrimeSieve.cpp:21:0:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future: At global scope:\r\nc:\\mingw\\lib\\gcc\\mingw32\\6.3.0\\include\\c++\\future:179:5: error: 'std::future<typename std::result_of<typename std::decay<_Tp>::type(typename std::decay<_BoundArgs>::type ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...) [with _Fn = primesieve::ParallelPrimeSieve::sieve()::<lambda()>&; _Args = {}; typename std::result_of<typename std::decay<_Tp>::type(typename std::decay<_BoundArgs>::type ...)>::type = std::vector<long long unsigned int>]', declared using local type 'primesieve::ParallelPrimeSieve::sieve()::<lambda()>', is used but never defined [-fpermissive]\r\n     async(launch __policy, _Fn&& __fn, _Args&&... __args);\r\n     ^~~~~\r\nmake[2]: *** [CMakeFiles/libprimesieve-static.dir/src/ParallelPrimeSieve.cpp.obj] Error 1\r\nmake[1]: *** [CMakeFiles/libprimesieve-static.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\n\r\n\r\n\r\nAny help would be greatly appreciated, thanks."},"comment":{"url":"https://api.github.com/repos/kimwalisch/primesieve/issues/comments/375963961","html_url":"https://github.com/kimwalisch/primesieve/issues/51#issuecomment-375963961","issue_url":"https://api.github.com/repos/kimwalisch/primesieve/issues/51","id":375963961,"user":{"login":"c4n10","id":2446254,"avatar_url":"https://avatars1.githubusercontent.com/u/2446254?v=4","gravatar_id":"","url":"https://api.github.com/users/c4n10","html_url":"https://github.com/c4n10","followers_url":"https://api.github.com/users/c4n10/followers","following_url":"https://api.github.com/users/c4n10/following{/other_user}","gists_url":"https://api.github.com/users/c4n10/gists{/gist_id}","starred_url":"https://api.github.com/users/c4n10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c4n10/subscriptions","organizations_url":"https://api.github.com/users/c4n10/orgs","repos_url":"https://api.github.com/users/c4n10/repos","events_url":"https://api.github.com/users/c4n10/events{/privacy}","received_events_url":"https://api.github.com/users/c4n10/received_events","type":"User","site_admin":false},"created_at":"2018-03-25T11:40:53Z","updated_at":"2018-03-25T11:40:53Z","author_association":"NONE","body":"I can confirm, this solution DID work for me, thank you."}}
{"actor":{"display_login":"c4n10"}}