boostorg / boost Goto Github PK
View Code? Open in Web Editor NEWSuper-project for modularized Boost
Home Page: https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
License: Boost Software License 1.0
Super-project for modularized Boost
Home Page: https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
License: Boost Software License 1.0
After reading the article at https://www.boost.org/doc/libs/1_67_0/libs/tuple/doc/html/tuple_users_guide.html
The following note is a problem for me.
Note that extracting tuples with std::string or C-style string elements does not generally work, since the streamed tuple representation may not be unambiguously parseable.
What type should I use to unambiguously parse strings from a stream into a tuple?
I hace excuted this command in order to compile on intel compiler
compiler enviroment had been added
from /tools/build
./bootstrap.sh
./b2 install --prefix=$HOME/local/BOOST
export PATH=$HOME/local/BOOST/bin:$PATH
cd ../../
b2 address-model=64 toolset=intel stage
Error message
remark #11074: Inlining inhibited by limit max-size
remark #11074: Inlining inhibited by limit max-total-size
remark #11076: To get full report use -opt-report=3 -opt-report-phase ipo
Killed
It is possible to setup appveyor to build binaries on every commit and store the artifacts.
We need it to build the libs for all the major compilers and runtimes: MinGW-w64, VS. CLang is somehow compatible to both.
Hello,
I have downloaded the last prebuild version 14.2-64, I have changed the boost directory.
When I compile my progra, which was working before, I have the following error:
Error LNK1104 cannot open file 'libboost_date_time-vc142-mt-gd-x64-1_71.lib'
I tried to build from source and got the same error.
Am I missing something?
I need to use the boost-1.64.0 version, but most of the submodule refs are not available any more.
> git submodule update --init --recursive
error: no such remote ref d022c85123683138ebec9149f0dc9aec6f3839cf
Fetched in submodule path 'libs/accumulators', but it did not contain d022c85123683138ebec9149f0dc9aec6f3839cf. Direct fetching of that commit failed.
This is the "libs/accumulators" module. If I skip this one, others fail as well.
Is 1.64.0 not supported any more?
b2.exe --with-date_time address-model=32 threading=multi link=shared runtime-link=shared release
b2.exe --with-date_time address-model=32 threading=multi link=shared runtime-link=static release
just got one dll boost_date_time-vc142-mt-x32-1_70.dll
why?
I have downloaded a 1.55 tarball from GitHub releases page and it contains mostly empty folders (it looks like submodules were not fetched/checkouted before archiving). Then I checked 1.68 and it is the same situation.
I have been linking boost library from CMD but MSVC linked standard library and boost library remains unused.
Followed steps:
cl /F 10000000 /TP /EHsc random_speed.cpp /I C:\Users\zen2-\MS_COMPILER\memcpy_boost_18062019\install\include\boost-1_70\ /link /LIBPATH:C:\Users\zen2-\MS_COMPILER\memcpy_boost_18062019\install\lib\ libboost_random-vc142-mt-x64-1_70.lib libboost_filesystem-vc142-mt-x64-1_70.lib.
Please help me out.
This cheatsheet mentions about file project-config.jam
in setup steps but I didn't find this file.
In project-config.jam, set the libraries = line to read libraries = --with-date_time ;
Hello,
I had a look at the boost continuous fuzzing test harnesses and build configuration over at oss-fuzz and was left with the impression that the current harnesses test only small portions of the boost library mostly because the portions that need to be tested need to be linked against the LLVM implementation of the C++ standard library (libc++).
I was wondering if there is something I could do to get all boost code to build using the clang/llvm toolchain? I believe the pay-off from this effort could be that more targets can be added and continuously fuzzed. Moreover, other projects that depend on one or more boost libraries can benefit from this as well.
Thank you.
I am trying to benchmark boost on Windows with different compilers. Does boost has some standard benchmark that i can run and see the performance?
hello,
I checked out tag boost-1.71.0 and ran bootstrap and b2 and the libs that it built all have the 1_72 tag on them (eg boost_atomic-vc140-mt-x64-1_72.dll).
I just wanted to check if this was intentional and I should be checking out a different tag or if I messed up somewhere in my config.
TIA for any advice you have
I came across a problem ,Because some reason,the class a can't be instance directly,so when I use boost ,there always an error.But if I let class b to include a variable of class a ,I can compile it with no error,so,I wonder,if Boost instance the class I want to expose or not?
Thanks
Hi everybody,
I'm downloading the latest versions of boost (1.69.0) but it seems that some of the files are missing in the installation. I'm trying to run a transcriptome assembler that needs to have files in
#include <bits/typesizes.h>
and
#include <bits/types.h>
The problem is that when I download the libraries no bits directory is created and thus no typesizes.h or types.h headers files are found, causing my software building crash.
Anyone had this issue before ? Anyone knows how to fix this ?
I am running on OSX 10.14.2 and on the terminal.
thanks in advance for your help.
build command:
.\b2 -j8 --build-dir=.\tmp threading=multi link=shared address-model=64 to
olset=gcc --with-thread --with-chrono --with-date_time
error:
mp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x216): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x2e9): undefined reference to
InterlockedIncrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x38a): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x397): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x408): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x415): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x479): undefined reference to InterlockedDecrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x4d9): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x536): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x54b): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x5b9): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x5d6): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x68e): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x69a): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x6f8): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0xed6): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0xef3): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0xf14): undefined reference to
InterlockedExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0xf45): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0xf7d): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x1066): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x108b): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x10d3): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x10f1): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x1112): undefined reference to InterlockedExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x1151): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x118d): undefined reference to InterlockedDecrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x129d): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x12f6): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x1317): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x134d): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x13a7): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x13cc): more undefined references to InterlockedCompareExchange' follow tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x1517): undefined reference to
InterlockedExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x1552): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x159e): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x163e): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x1698): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x16bd): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x26ce): undefined reference to
InterlockedIncrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x2733): undefined reference to InterlockedDecrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x27c7): undefined reference to
InterlockedIncrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x2820): undefined reference to InterlockedDecrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x285c): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text+0x360): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost6detail21intrusive_ptr_releaseEPNS0_16thread_data_baseE[_ZN5boost6detail21intrusive_ptr_releaseEPNS0_16thread_data_baseE]+0xd): undefined reference to
InterlockedDecrement'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET[ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET]+0x48): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0x63): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET[ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET]+0x75): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0x82): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET[ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET]+0xd4): undefined reference to InterlockedIncrement' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0xe1): undefined reference to
InterlockedExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET[ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET]+0x172): undefined reference to InterlockedCompareExchange' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0x1fe): undefined reference to
InterlockedExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost6detail17basic_timed_mutex9get_eventEv[_ZN5boost6detail17basic_timed_mutex9get_eventEv]+0x13): undefined reference to InterlockedCompareExchangePointer' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost6detail17basic_timed_mutex9get_eventEv[_ZN5boost6detail17basic_timed_mutex9get_eventEv]+0x52): undefined reference to
InterlockedCompareExchangePointer'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost6detail17basic_timed_mutex6unlockEv[_ZN5boost6detail17basic_timed_mutex6unlockEv]+0xf): undefined reference to InterlockedExchangeAdd' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost6detail17basic_timed_mutex6unlockEv[_ZN5boost6detail17basic_timed_mutex6unlockEv]+0x45): undefined reference to
InterlockedCompareExchange'
tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost6detail17basic_timed_mutex6unlockEv[_ZN5boost6detail17basic_timed_mutex6unlockEv]+0x62): undefined reference to InterlockedCompareExchangePointer' tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o:thread.cpp:(.text$_ZN5boost6detail17basic_timed_mutex6unlockEv[_ZN5boost6detail17basic_timed_mutex6unlockEv]+0xa1): undefined reference to
InterlockedCompareExchangePointer'
collect2.exe: error: ld returned 1 exit status
"g++" "-Wl,--out-implib,tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\libboost_thread-mgw82-mt-1_53.dll.a" -o "tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\libboost_thread-mgw82-mt-1_53.dll" -shared -Wl,--start-group "tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\thread.o" "tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\tss_dll.o" "tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\win32\tss_pe.o" "tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\future.o" "tmp\boost\bin.v2\libs\system\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\libboost_system-mgw82-mt-1_53.dll.a" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group -mthreads -m64
...failed gcc.link.dll tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\libboost_thread-mgw82-mt-1_53.dll.a tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\libboost_thread-mgw82-mt-1_53.dll...
...removing tmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi\libboost_thread-mgw82-mt-1_53.dll.a
...skipped <pstage\lib>libboost_thread-mgw82-mt-1_53.dll.a for lack of <ptmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi>libboost_thread-mgw82-mt-1_53.dll.a...
...skipped <pstage\lib>libboost_thread-mgw82-mt-1_53.dll for lack of <ptmp\boost\bin.v2\libs\thread\build\gcc-mingw-8.2.0\release\address-model-64\threading-multi>libboost_thread-mgw82-mt-1_53.dll...
...failed updating 4 targets...
...skipped 4 targets...
PS C:\Users\AaronZhang\Desktop\boost_1_53_0> .\b2 -j8 --build-dir=.\tmp threading=multi link=shared address-model=64 to
olset=gcc --with-thread --with-chrono --with-date_time
Hi ,
I wanted to compile boost for qnx 6.5.0 with gcc4.4.2.
Is it compiling supported with the agove qnx and Gcc version. ?
Do you have the pre build binaries for this.
Thanks,
Hello,
Compile fails if included boost/detail/basic_pointerbuf.hpp
May be fixed with #include <boost/integer.hpp> into basic_pointerbuf.hpp
Boost version: 1.69.0
Compiled with clang-6.0 and cmake:
findPackage( Boost 1.69.0 COMPONENTS program_options filesystem regex date_time system thread graph REQUIRED )
Installed boost at ubuntu 18.04 with:
cd ~
wget https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.bz2 \
&& tar -xjf boost_1_69_0.tar.bz2 \
&& rm -rf boost_1_69_0.tar.bz2 \
&& cd boost_1_69_0 \
&& sudo ./bootstrap.sh --prefix=/usr/ \
&& sudo ./b2 link=shared install
Full log:
```
/usr/include/boost/detail/basic_pointerbuf.hpp:79:28: error: no type named 'int_t' in namespace 'boost'
typedef typename boost::int_t::least cast_type;
~~~~~~~~~~~~~~~~^~~~~
/usr/include/boost/detail/basic_pointerbuf.hpp:79:33: error: expected unqualified-id
typedef typename boost::int_t::least cast_type;
^
/usr/include/boost/detail/basic_pointerbuf.hpp:86:23: error: unknown type name 'cast_type'; did you mean 'base_type'?
switch(static_cast(way))
^
/usr/include/boost/detail/basic_pointerbuf.hpp:33:20: note: 'base_type' declared here
typedef BufferT base_type;
^
/usr/include/boost/detail/basic_pointerbuf.hpp:86:11: error: no matching conversion for static_cast from '::std::ios_base::seekdir'
(aka 'std::_Ios_Seekdir') to 'boost::detail::basic_pointerbuf >::base_type'
(aka 'std::__cxx11::basic_stringbuf')
switch(static_cast(way))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:139:15: note: in instantiation of member function
'boost::detail::basic_pointerbuf >::seekoff' requested here
class lexical_istream_limited_src: boost::noncopyable {
^
/usr/include/boost/lexical_cast/try_lexical_convert.hpp:201:33: note: in instantiation of member function
'boost::detail::lexical_converter_impl, std::allocator >,
boost::uuids::uuid>::try_convert' requested here
return caster_type::try_convert(arg, result);
^
/usr/include/boost/lexical_cast.hpp:41:41: note: in instantiation of function template specialization
'boost::conversion::detail::try_lexical_convert, std::allocator >,
boost::uuids::uuid>' requested here
if (!boost::conversion::detail::try_lexical_convert(arg, result)) {
^
/home/denis/workspace/webrtc-test/src/net/WsListener.cpp:33:17: note: in instantiation of function template specialization
'boost::lexical_cast, std::allocator >, boost::uuids::uuid>' requested here
return boost::lexical_cast(genGuid());
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/sstream:100:7: note: candidate constructor not viable: no known conversion from
'::std::ios_base::seekdir' (aka 'std::_Ios_Seekdir') to 'ios_base::openmode' (aka 'std::_Ios_Openmode') for 1st argument
basic_stringbuf(ios_base::openmode __mode = ios_base::in | ios_base::out)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/sstream:113:7: note: candidate constructor not viable: no known conversion from
'::std::ios_base::seekdir' (aka 'std::_Ios_Seekdir') to 'const std::__cxx11::basic_stringbuf,
std::allocator >::__string_type' (aka 'const basic_string, std::allocator >') for 1st argument
basic_stringbuf(const __string_type& __str,
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/sstream:120:7: note: candidate constructor not viable: no known conversion from
'::std::ios_base::seekdir' (aka 'std::_Ios_Seekdir') to 'const std::__cxx11::basic_stringbuf' for 1st argument
basic_stringbuf(const basic_stringbuf&) = delete;
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/sstream:122:7: note: candidate constructor not viable: no known conversion from
'::std::ios_base::seekdir' (aka 'std::_Ios_Seekdir') to 'std::__cxx11::basic_stringbuf' for 1st argument
basic_stringbuf(basic_stringbuf&& __rhs)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/sstream:357:7: note: candidate constructor not viable: requires 2 arguments, but 1
was provided
basic_stringbuf(basic_stringbuf&& __rhs, __xfer_bufptrs&&)
```
problem solved
centos 4.7 and g++ 4.8.5
g++ -std=c++11 -Werror=pedantic
boost-1.61.0/include/boost/uuid/seed_rng.hpp: In member function 'void boost::uuids::detail::seed_rng::sha1_random_digest_()':
/export/home/software/boost-1.61.0/include/boost/uuid/seed_rng.hpp:222:60: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
sha.process_bytes( (unsigned char const*)&std::rand, sizeof( void(*)() ) );
wget https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz
--2019-05-30 15:24:16-- https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz
Resolving dl.bintray.com (dl.bintray.com)... 54.93.138.218, 35.157.207.108
Connecting to dl.bintray.com (dl.bintray.com)|54.93.138.218|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-05-30 15:24:17 ERROR 403: Forbidden.
error: downloading 'https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 54.93.138.218...
TCP_NODELAY set
Connected to dl.bintray.com (54.93.138.218) port 443 (#0)
ALPN, offering http/1.1
Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
TLSv1.2 (OUT), TLS handshake, Client hello (1):
[217 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
[89 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
[3593 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
[333 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
[4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
[70 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
[16 bytes data]
TLSv1.2 (IN), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
[16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=.bintray.com
start date: Sep 15 00:00:00 2018 GMT
expire date: Nov 9 12:00:00 2019 GMT
subjectAltName: host "dl.bintray.com" matched cert's ".bintray.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
GET /boostorg/release/1.70.0/source/boost_1_70_0.tar.gz HTTP/1.1
Host: dl.bintray.com
User-Agent: curl/7.54.0
Accept: /
The requested URL returned error: 403 Forbidden
stopped the pause stream!
Closing connection 0
TLSv1.2 (OUT), TLS alert, Client hello (1):
[2 bytes data]
--- LOG END ---
error: downloading 'https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 54.93.138.218...
TCP_NODELAY set
Connected to dl.bintray.com (54.93.138.218) port 443 (#0)
ALPN, offering http/1.1
Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
TLSv1.2 (OUT), TLS handshake, Client hello (1):
[217 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
[89 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
[3593 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
[333 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
[4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
[70 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
[16 bytes data]
TLSv1.2 (IN), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
[16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=.bintray.com
start date: Sep 15 00:00:00 2018 GMT
expire date: Nov 9 12:00:00 2019 GMT
subjectAltName: host "dl.bintray.com" matched cert's ".bintray.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
GET /boostorg/release/1.70.0/source/boost_1_70_0.tar.gz HTTP/1.1
Host: dl.bintray.com
User-Agent: curl/7.54.0
Accept: /
The requested URL returned error: 403 Forbidden
stopped the pause stream!
Closing connection 0
TLSv1.2 (OUT), TLS alert, Client hello (1):
[2 bytes data]
--- LOG END ---
error: downloading 'https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 54.93.138.218...
TCP_NODELAY set
Connected to dl.bintray.com (54.93.138.218) port 443 (#0)
ALPN, offering http/1.1
Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
TLSv1.2 (OUT), TLS handshake, Client hello (1):
[217 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
[89 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
[3593 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
[333 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
[4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
[70 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
[16 bytes data]
TLSv1.2 (IN), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
[16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=.bintray.com
start date: Sep 15 00:00:00 2018 GMT
expire date: Nov 9 12:00:00 2019 GMT
subjectAltName: host "dl.bintray.com" matched cert's ".bintray.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
GET /boostorg/release/1.70.0/source/boost_1_70_0.tar.gz HTTP/1.1
Host: dl.bintray.com
User-Agent: curl/7.54.0
Accept: /
The requested URL returned error: 403 Forbidden
stopped the pause stream!
Closing connection 0
TLSv1.2 (OUT), TLS alert, Client hello (1):
[2 bytes data]
--- LOG END ---
error: downloading 'https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 54.93.138.218...
TCP_NODELAY set
Connected to dl.bintray.com (54.93.138.218) port 443 (#0)
ALPN, offering http/1.1
Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
TLSv1.2 (OUT), TLS handshake, Client hello (1):
[217 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
[89 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
[3593 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
[333 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
[4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
[70 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
[16 bytes data]
TLSv1.2 (IN), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
[16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=.bintray.com
start date: Sep 15 00:00:00 2018 GMT
expire date: Nov 9 12:00:00 2019 GMT
subjectAltName: host "dl.bintray.com" matched cert's ".bintray.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
GET /boostorg/release/1.70.0/source/boost_1_70_0.tar.gz HTTP/1.1
Host: dl.bintray.com
User-Agent: curl/7.54.0
Accept: /
The requested URL returned error: 403 Forbidden
stopped the pause stream!
Closing connection 0
TLSv1.2 (OUT), TLS alert, Client hello (1):
[2 bytes data]
--- LOG END ---
error: downloading 'https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 54.93.138.218...
TCP_NODELAY set
Connected to dl.bintray.com (54.93.138.218) port 443 (#0)
ALPN, offering http/1.1
Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
TLSv1.2 (OUT), TLS handshake, Client hello (1):
[217 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
[89 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
[3593 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
[333 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
[4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
[70 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
[16 bytes data]
TLSv1.2 (IN), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
[16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=.bintray.com
start date: Sep 15 00:00:00 2018 GMT
expire date: Nov 9 12:00:00 2019 GMT
subjectAltName: host "dl.bintray.com" matched cert's ".bintray.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
GET /boostorg/release/1.70.0/source/boost_1_70_0.tar.gz HTTP/1.1
Host: dl.bintray.com
User-Agent: curl/7.54.0
Accept: /
The requested URL returned error: 403 Forbidden
stopped the pause stream!
Closing connection 0
TLSv1.2 (OUT), TLS alert, Client hello (1):
[2 bytes data]
--- LOG END ---
error: downloading 'https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 54.93.138.218...
TCP_NODELAY set
Connected to dl.bintray.com (54.93.138.218) port 443 (#0)
ALPN, offering http/1.1
Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
TLSv1.2 (OUT), TLS handshake, Client hello (1):
[217 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
[89 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
[3593 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
[333 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
[4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
[70 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
[16 bytes data]
TLSv1.2 (IN), TLS change cipher, Client hello (1):
[1 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
[16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=.bintray.com
start date: Sep 15 00:00:00 2018 GMT
expire date: Nov 9 12:00:00 2019 GMT
subjectAltName: host "dl.bintray.com" matched cert's ".bintray.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
GET /boostorg/release/1.70.0/source/boost_1_70_0.tar.gz HTTP/1.1
Host: dl.bintray.com
User-Agent: curl/7.54.0
Accept: /
The requested URL returned error: 403 Forbidden
stopped the pause stream!
Closing connection 0
TLSv1.2 (OUT), TLS alert, Client hello (1):
[2 bytes data]
--- LOG END ---
I searched for Signals library in boost and got to this page: https://www.boost.org/doc/libs/1_70_0/more/getting_started/windows.html
Some paragraphs later, there is a part with title Header-Only Libraries (Link is https://www.boost.org/doc/libs/1_70_0/more/getting_started/windows.html#header-only-libraries)
In this part when I try to visit Boost.Signals (this link: https://www.boost.org/doc/libs/1_70_0/libs/signals/index.html), it shows me a 404 error page.
Ublas seems to be unmaintained for over a year now, at least judging by pull requests being ignored for what looks like clear bug(s): boostorg/ublas#50
"Development" repo mentioned in boostorg/ublas readme hasn't been updated in 3 years: https://github.com/uBLAS/ublas
Does ublas not have a (backup) maintainer anymore (either)?
Hi,
We are working on a project based on Boost and our code is not compiling on Ubuntu 18.04 with gcc 7.3.0 but it compiles on Ubuntu 16.04.5 with gcc 5.4.0. I have tried with different boost versions from 1.60 to 1.68 but I got the same error message.
I also tried to compile the code snippet above with "-std=c++98" gcc switch and in that case I successfully compiled it but other parts of our code is using c++11 so it is not a good solution for us.
Do you have any idea what causes the problem?
The minimal example that fails to compile:
#include <boost/variant/variant.hpp>
#include <boost/variant/variant_fwd.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/repetition/enum.hpp>
namespace serialization {
//...
#if !defined(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE)
#define XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS_IMPL(z, N, T) \
typename BOOST_PP_CAT(T,N) = boost::detail::variant::void_ \
/**/
#else
#define XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS_IMPL(z, N, T) \
typename BOOST_PP_CAT(T,N) = BOOST_PP_CAT(boost::detail::variant::void,N) \
/**/
#endif
#define XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS \
BOOST_PP_ENUM( \
BOOST_PP_SUB(BOOST_VARIANT_LIMIT_TYPES, 1) \
, XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS_IMPL \
, T \
) \
/**/
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
struct xml_mixed_choice_schema {
int a;
};
//...
}
The compilation error:
In file included from /home/ttcn/boost_install//include/boost/preprocessor/repeat.hpp:15:0,
from /home/ttcn/boost_install//include/boost/mpl/aux_/preprocessor/params.hpp:46,
from /home/ttcn/boost_install//include/boost/mpl/aux_/na_spec.hpp:26,
from /home/ttcn/boost_install//include/boost/mpl/not.hpp:20,
from /home/ttcn/boost_install//include/boost/mpl/assert.hpp:17,
from /home/ttcn/boost_install//include/boost/mpl/aux_/na_assert.hpp:23,
from /home/ttcn/boost_install//include/boost/mpl/arg.hpp:25,
from /home/ttcn/boost_install//include/boost/variant/variant_fwd.hpp:19,
from /home/ttcn/boost_install//include/boost/variant/variant.hpp:26,
from minimal.cpp:2:
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:43:39: error: 'BOOST_PP_REPEAT_1_BOOST_PP_DEC_BOOST_VARIANT_LIMIT_TYPES' has not been declared
# define BOOST_PP_REPEAT_1_I(c, m, d) BOOST_PP_REPEAT_1_ ## c(m, d)
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:38:37: note: in expansion of macro 'BOOST_PP_REPEAT_1_I'
# define BOOST_PP_REPEAT_1(c, m, d) BOOST_PP_REPEAT_1_I(c, m, d)
^~~~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:38: note: in expansion of macro 'BOOST_PP_REPEAT_1'
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'BOOST_PP_ENUM_1'
# define BOOST_PP_CAT_I(a, b) a ## b
^
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:22:32: note: in expansion of macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:32:24: note: in expansion of macro 'BOOST_PP_CAT'
# define BOOST_PP_ENUM BOOST_PP_CAT(BOOST_PP_ENUM_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^~~~~~~~~~~~
minimal.cpp:21:3: note: in expansion of macro 'BOOST_PP_ENUM'
BOOST_PP_ENUM( \
^~~~~~~~~~~~~
minimal.cpp:27:11: note: in expansion of macro 'XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS'
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:43:64: error: expected ')' before ',' token
# define BOOST_PP_REPEAT_1_I(c, m, d) BOOST_PP_REPEAT_1_ ## c(m, d)
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:38:37: note: in expansion of macro 'BOOST_PP_REPEAT_1_I'
# define BOOST_PP_REPEAT_1(c, m, d) BOOST_PP_REPEAT_1_I(c, m, d)
^~~~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:38: note: in expansion of macro 'BOOST_PP_REPEAT_1'
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'BOOST_PP_ENUM_1'
# define BOOST_PP_CAT_I(a, b) a ## b
^
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:22:32: note: in expansion of macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:32:24: note: in expansion of macro 'BOOST_PP_CAT'
# define BOOST_PP_ENUM BOOST_PP_CAT(BOOST_PP_ENUM_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^~~~~~~~~~~~
minimal.cpp:21:3: note: in expansion of macro 'BOOST_PP_ENUM'
BOOST_PP_ENUM( \
^~~~~~~~~~~~~
minimal.cpp:27:11: note: in expansion of macro 'XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS'
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:78: error: expected identifier before '(' token
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:43:66: note: in definition of macro 'BOOST_PP_REPEAT_1_I'
# define BOOST_PP_REPEAT_1_I(c, m, d) BOOST_PP_REPEAT_1_ ## c(m, d)
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:38: note: in expansion of macro 'BOOST_PP_REPEAT_1'
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'BOOST_PP_ENUM_1'
# define BOOST_PP_CAT_I(a, b) a ## b
^
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:22:32: note: in expansion of macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:32:24: note: in expansion of macro 'BOOST_PP_CAT'
# define BOOST_PP_ENUM BOOST_PP_CAT(BOOST_PP_ENUM_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^~~~~~~~~~~~
minimal.cpp:21:3: note: in expansion of macro 'BOOST_PP_ENUM'
BOOST_PP_ENUM( \
^~~~~~~~~~~~~
minimal.cpp:27:11: note: in expansion of macro 'XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS'
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:80: error: expected ')' before ',' token
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:43:66: note: in definition of macro 'BOOST_PP_REPEAT_1_I'
# define BOOST_PP_REPEAT_1_I(c, m, d) BOOST_PP_REPEAT_1_ ## c(m, d)
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:38: note: in expansion of macro 'BOOST_PP_REPEAT_1'
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'BOOST_PP_ENUM_1'
# define BOOST_PP_CAT_I(a, b) a ## b
^
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:22:32: note: in expansion of macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:32:24: note: in expansion of macro 'BOOST_PP_CAT'
# define BOOST_PP_ENUM BOOST_PP_CAT(BOOST_PP_ENUM_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^~~~~~~~~~~~
minimal.cpp:21:3: note: in expansion of macro 'BOOST_PP_ENUM'
BOOST_PP_ENUM( \
^~~~~~~~~~~~~
minimal.cpp:27:11: note: in expansion of macro 'XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS'
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
^
minimal.cpp:24:6: error: 'T' has not been declared
, T \
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:43:66: note: in definition of macro 'BOOST_PP_REPEAT_1_I'
# define BOOST_PP_REPEAT_1_I(c, m, d) BOOST_PP_REPEAT_1_ ## c(m, d)
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:38: note: in expansion of macro 'BOOST_PP_REPEAT_1'
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'BOOST_PP_ENUM_1'
# define BOOST_PP_CAT_I(a, b) a ## b
^
minimal.cpp:27:11: note: in expansion of macro 'XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS'
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:83: error: expected '>' before ')' token
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:43:66: note: in definition of macro 'BOOST_PP_REPEAT_1_I'
# define BOOST_PP_REPEAT_1_I(c, m, d) BOOST_PP_REPEAT_1_ ## c(m, d)
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:38: note: in expansion of macro 'BOOST_PP_REPEAT_1'
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'BOOST_PP_ENUM_1'
# define BOOST_PP_CAT_I(a, b) a ## b
^
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:22:32: note: in expansion of macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:32:24: note: in expansion of macro 'BOOST_PP_CAT'
# define BOOST_PP_ENUM BOOST_PP_CAT(BOOST_PP_ENUM_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^~~~~~~~~~~~
minimal.cpp:21:3: note: in expansion of macro 'BOOST_PP_ENUM'
BOOST_PP_ENUM( \
^~~~~~~~~~~~~
minimal.cpp:27:11: note: in expansion of macro 'XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS'
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:83: error: expected unqualified-id before ')' token
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/repeat.hpp:43:66: note: in definition of macro 'BOOST_PP_REPEAT_1_I'
# define BOOST_PP_REPEAT_1_I(c, m, d) BOOST_PP_REPEAT_1_ ## c(m, d)
^
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:35:38: note: in expansion of macro 'BOOST_PP_REPEAT_1'
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
^~~~~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'BOOST_PP_ENUM_1'
# define BOOST_PP_CAT_I(a, b) a ## b
^
/home/ttcn/boost_install//include/boost/preprocessor/cat.hpp:22:32: note: in expansion of macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^~~~~~~~~~~~~~
/home/ttcn/boost_install//include/boost/preprocessor/repetition/enum.hpp:32:24: note: in expansion of macro 'BOOST_PP_CAT'
# define BOOST_PP_ENUM BOOST_PP_CAT(BOOST_PP_ENUM_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^~~~~~~~~~~~
minimal.cpp:21:3: note: in expansion of macro 'BOOST_PP_ENUM'
BOOST_PP_ENUM( \
^~~~~~~~~~~~~
minimal.cpp:27:11: note: in expansion of macro 'XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS'
template<XML_MIXED_DATA_TYPE_AUX_DECLARE_PARAMS>
https://github.com/boostorg/boost/tree/master/libs
shows directories as non-clickable objects
what do I miss? how to drill down into those directories?
thanks.
Boost 1.70 is not compiling when using clang-9 / hcc compiler.
Recently I was confused about boost::algorithm::all_of with TriBool.
Minimum working example:
#include <iostream>
#include "boost/logic/tribool.hpp"
#include <vector>
#include <boost/algorithm/cxx11/all_of.hpp>
boost::logic::tribool isOdd (int) { return boost::logic::indeterminate; }
int main()
{
std::vector<int> test;
test.push_back(5);
if (boost::algorithm::all_of(test, isOdd)){
std::cout << "Is True";
}
}
This example uses TriBool
.
Suppose that we have 2 elements in a vector.
For one element the result is boost::logic::indeterminate
and for the second one is true
I can be wrong but for me boost::algorithm::all_of
should evaluate to false
.
I assume that because when you use boost::logic::indeterminate
in if
statement it is evaluated to false
.
if (some_value_with_indeterminate_state)
{
std::cout << "Never executed";
}
This is cause by:
template<typename InputIterator, typename Predicate>
bool all_of ( InputIterator first, InputIterator last, Predicate p )
{
for ( ; first != last; ++first )
if ( !p(*first))
return false;
return true;
}
Suppose that in my case p(*first)
is boost::logic::indeterminate
if ( !p(*first))
--> ! indeterminate
---> negation of indeterminate gives indeterminate
So finally, we get if (indeterminate)
which is false --> after whole loop we get true
Hi,
I would like to build boost libraries without documentation files. with only header files and .so libraries.
I have tried ./b2 --help or ./bootstrap --help but can't find any info there.
Since i am using checkinstall to install it and there are lots of docs, it is taking a lot time to finish installation.
So, kindly suggest how to exclude docs.
Thanks.
When i install boost 1.6.8 with:
$ ./bootstrap.sh --prefix=~/somewhere
$ ./b2 install
then i get a subdirectory named ~/somewhere at working directory.
Hi all,
I followed the wiki to set up git and clone codes. After the command finished, then I run "git status" command. I got following content:
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: libs/sort (modified content)
no changes added to commit (use "git add" and/or "git commit -a")
The detailed change is as below:
warning: CRLF will be replaced by LF in doc/sort.idx.
The file will have its original line endings in your working directory.
diff --git a/doc/sort.idx b/doc/sort.idx
index 4492743..2453517 100644
--- a/doc/sort.idx
+++ b/doc/sort.idx
@@ -1,37 +1,37 @@
-# sort.idx for Boost.Sort/Spreadsort Quickbook, Doxygen and Auto-index.
-
-# Note needs more customization to be useful in practice! TODO?
-
-#!debug "\<\w*\>"
-
-# Sort Header files.
-#!scan-path "/boost/sort/" ".*\.*pp" true
-!scan-path "../include/boost/sort" ".*\.hpp" false
-!scan-path "../include/boost/sort/spreadsort" ".*\.hpp" false
-
-# All example source files, assuming no sub-folders.
-# sort example files.
-!scan-path "../example" ".*\.cpp" true
-
-# Allow alternative spellings colour | color, and plurals etc.
-color \<\w*(colour|color)\w*\>
-container \<contain\w*\>
-data
-deque \<deque\w*\>
-example \<example\w*\>
-font \<font\w*\>
warning: CRLF will be replaced by LF in doc/sort.idx.
The file will have its original line endings in your working directory.
diff --git a/doc/sort.idx b/doc/sort.idx
index 4492743..2453517 100644
--- a/doc/sort.idx
+++ b/doc/sort.idx
@@ -1,37 +1,37 @@
-# sort.idx for Boost.Sort/Spreadsort Quickbook, Doxygen and Auto-index.
-
-# Note needs more customization to be useful in practice! TODO?
-
-#!debug "\<\w*\>"
-
-# Sort Header files.
-#!scan-path "/boost/sort/" ".*\.*pp" true
-!scan-path "../include/boost/sort" ".*\.hpp" false
-!scan-path "../include/boost/sort/spreadsort" ".*\.hpp" false
-
-# All example source files, assuming no sub-folders.
-# sort example files.
-!scan-path "../example" ".*\.cpp" true
-
-# Allow alternative spellings colour | color, and plurals etc.
-color \<\w*(colour|color)\w*\>
-container \<contain\w*\>
-data
-deque \<deque\w*\>
-example \<example\w*\>
-font \<font\w*\>
-greek
-quartile \<quartile\w*\>
-histogram
-ioflags
-origin
-outlier
-maximum \<max\w*\>
-minimum \<min\w*\>
-precision
-range \<\w*\range\w*\>
-scaling \<\w*\scal\w*\>
-tick \<\w*\tick\w*\>
-title
-Unicode \<unicode\w*\>
-vector \<\w*\vector\w*\>
+# sort.idx for Boost.Sort/Spreadsort Quickbook, Doxygen and Auto-index.
+
+# Note needs more customization to be useful in practice! TODO?
+
+#!debug "\<\w*\>"
+
+# Sort Header files.
+#!scan-path "/boost/sort/" ".*\.*pp" true
+!scan-path "../include/boost/sort" ".*\.hpp" false
+!scan-path "../include/boost/sort/spreadsort" ".*\.hpp" false
+
+# All example source files, assuming no sub-folders.
+# sort example files.
+!scan-path "../example" ".*\.cpp" true
Did I missed some steps?
Thanks
Moon
I've experienced the above bug on windows x86 using latest boost.
The said code is below
for (boost::filesystem::recursive_directory_iterator end, dir(path(file_name)); dir != end; ++dir)
I was initially using dir(file_name);
when I discovered this.
The error occured only when scanning root drive. ie F:\
$ ./b2 install
/home/kyb/boost-src/tools/build/src/tools/common.jam:977: in toolset-tag
*** argument error
* rule numbers.less ( n1 n2 )
* called with: ( 4 )
* missing argument n2
I used the latest prebuilt windows binaries v1.70.0, and I had two issues when building my project. Are they the bug of this version or I did something wrong?
Severity Code Description Project File Line Suppression State
Error C3861 'to_python_use_handle_instead': identifier not found TMP C:\dev\proj\dependencies\boost\boost\python\converter\arg_to_python.hpp 177
Severity Code Description Project File Line Suppression State
Error C2027 use of undefined type 'boost::python::converter::detail::cannot_convert_raw_PyObject<T *>' TMP C:\dev\proj\dependencies\boost\boost\python\converter\arg_to_python.hpp 177
I just for the first time had cmake pick up boosts own cmake setup. unfortunately this immediately caused problems. unlike cmakes FindBoost.cmake the boost version does not provide transitive dependencies for static libraries.
target_link_libraries(my_exe Boost::iostreams)
for example will result in unresolved references to libz if boost is linked statically. also i noticed dynamic and static configs always provide the -mt libraries, wether selected for thread safety or not.
Just wanted to report a working boost.json
[1][2] flatpak manifest with Boost.python built and installed:
{
"name": "boost",
"disabled": false,
"buildsystem": "simple",
"build-options": {
"env":{
"BOOST_BUILD_PATH":"/app/boost_build"
}
},
"build-commands": [
"mkdir -p ${FLATPAK_DEST}/include/boost",
"PATH=$PATH:${BOOST_BUILD_PATH}/bin &&
cd tools/build &&
./bootstrap.sh &&
./b2 install --prefix=${FLATPAK_DEST}/boost_build &&
CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/python3.7m/ &&
cd ../../ &&
b2 toolset=gcc stage &&
cp -r ./stage/* ${FLATPAK_DEST}/ &&
echo 'using python : : /usr/bin/python3.7 ;' >> ${FLATPAK_DEST}/boost_build/user-config.jam &&
b2 --with-python toolset=gcc stage &&
cp -r ./stage/* ${FLATPAK_DEST}/ &&
cp -r boost/* ${FLATPAK_DEST}/include/boost",
"rm -r ${FLATPAK_DEST}/boost_build"
],
"sources": [
{
"type": "archive",
"url": "https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2",
"sha256": "d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee"
}
],
"cleanup": [
"lib/debug"
]
}
Hello
I am trying to build boost from git clone I run bootstrap.sh with these flags
./bootstrap.sh \
--prefix=/usr/local \
--with-toolset=clang \
--with-icu=/usr/local \
--with-python=python27 \
After boostrapping I append
"using mpi ;" >> ./project-config.jam
There's two issues with that
1)icu isn't found even though icu headers are in /usr/local/unicode/
2)I get this this warning
warning: non-free usage requirements <threading>multi ignored
warning: in main-target boost_mpi_python at libs/mpi/build/Jamfile.v2:144
Which I tracked down to this issue: http://boost.2283326.n4.nabble.com/explicitly-specified-values-of-non-free-feature-lt-threading-gt-conflict-td4701191.html
That thread leaves the issue unresolved and just throws a warning instead of failing.
./bjam \
--prefix=/usr/local \
--layout=system \
-d4 \
--toolset=clang \
--build-dir=./build \
--stagedir=/opt/boost \
-j4 \
include=/usr/local/include/unicode \
link=shared \
threading=multi \
stage \
bjam output
Performing configuration checks
- default address-model : 64-bit
- default architecture : x86
- symlinks supported : yes
- C++11 mutex : yes
- lockfree boost::atomic_flag : no
- Boost.Config Feature Check: cxx11_auto_declarations : yes
- Boost.Config Feature Check: cxx11_constexpr : yes
- Boost.Config Feature Check: cxx11_defaulted_functions : yes
- Boost.Config Feature Check: cxx11_final : yes
- Boost.Config Feature Check: cxx11_hdr_mutex : yes
- Boost.Config Feature Check: cxx11_hdr_tuple : yes
- Boost.Config Feature Check: cxx11_lambdas : yes
- Boost.Config Feature Check: cxx11_noexcept : yes
- Boost.Config Feature Check: cxx11_nullptr : yes
- Boost.Config Feature Check: cxx11_rvalue_references : yes
- Boost.Config Feature Check: cxx11_template_aliases : yes
- Boost.Config Feature Check: cxx11_thread_local : yes
- Boost.Config Feature Check: cxx11_variadic_templates : yes
- has_icu builds : yes
warning: non-free usage requirements <threading>multi ignored
warning: in main-target mpi at project-config.jam:42
warning: non-free usage requirements <threading>multi ignored
warning: in main-target boost_mpi at libs/mpi/build/Jamfile.v2:119
- zlib : yes
- bzip2 : yes
- lzma : yes
- zstd : no
- iconv (libc) : yes
- icu : no
- icu (lib64) : no
- xlocale supported : yes
- native-atomic-int32-supported : yes
- native-syslog-supported : yes
- pthread-supports-robust-mutexes : yes
- compiler-supports-ssse3 : yes
- compiler-supports-avx2 : yes
- gcc visibility : yes
- long double support : no
warning: non-free usage requirements <threading>multi ignored
warning: in main-target boost_mpi_python at libs/mpi/build/Jamfile.v2:144
- libbacktrace builds : no
- addr2line builds : yes
- WinDbg builds : no
- WinDbgCached builds : no
- BOOST_COMP_GNUC >= 4.3.0 : no
Component configuration:
- atomic : building
- chrono : building
- container : building
- context : building
- contract : building
- coroutine : building
- date_time : building
- exception : building
- fiber : building
- filesystem : building
- graph : building
- graph_parallel : building
- iostreams : building
- locale : building
- log : building
- math : building
- mpi : building
- program_options : building
- python : building
- random : building
- regex : building
- serialization : building
- stacktrace : building
- system : building
- test : building
- thread : building
- timer : building
- type_erasure : building
- wave : building
I do have a working installation of openmpi installed in /usr/local and mpicxx is in my path from following the directions here: https://www.boost.org/doc/libs/1_64_0/doc/html/mpi/getting_started.html#mpi.config
in the end the build errors out
0.003049 sec system; 0.000000 sec user; 3.078255 sec clock
Using shell: /bin/sh -c
argv[0] = '/bin/sh'
argv[1] = '-c'
argv[2] = '
ln -f -s 'libboost_wave.so.1.69.0' '/wrkdirs/usr/ports/devel/boost-devel/work/stage/lib/libboost_wave.so'
'
ln-UNIX /wrkdirs/usr/ports/devel/boost-devel/work/stage/lib/libboost_wave.so
ln -f -s 'libboost_wave.so.1.69.0' '/wrkdirs/usr/ports/devel/boost-devel/work/stage/lib/libboost_wave.so'
0.001905 sec system; 0.000000 sec user; 1.957884 sec clock
...failed updating 86 targets...
...skipped 17 targets...
...updated 1147 targets...
*** [do-build] Error code 1
make: stopped in /usr/ports/devel/boost-devel
1 error
two questions:
As evidenced by https://www.boost.org/development/tests/master/developer/outcome.html, my https://github.com/boostorg/outcome/blob/master/meta/explicit-failures-markup.xml appears to not be picked up.
Also, on https://www.boost.org/doc/libs/develop, Outcome's categories are not being picked up, nor is the C++ standard required being found. I believe my https://github.com/boostorg/outcome/blob/master/meta/libraries.json is correct.
Note that the categories and standard required problem seems to affect more libraries than just Outcome. Or rather, I would have thought many of the libraries in Miscellaneous category ought to not be there. And libraries such as Beast and Hana should be C++ 11 and C++ 14 standard required.
Source code:
time_t now,then;
double tolerance,stageTolerance,areadone,rmsadj;
bool done=false;
string inputFile,outputFile;
bool validArgs,validCmd=true;
po::options_description generic("Options");
po::options_description hidden("Hidden options");
po::options_description cmdline_options;
po::positional_options_description p;
po::variables_map vm;
generic.add_options()
("tolerance,t",po::value<double>(&tolerance)->default_value(0.1),"Vertical tolerance")
("output,o",po::value<string>(&outputFile),"Output file");
hidden.add_options()
("input",po::value<string>(&inputFile),"Input file");
p.add("input",1);
cmdline_options.add(generic).add(hidden);
//...
cout<<generic;
Output:
-t [ --tolerance ] arg (=0.10000000000000001)
Vertical tolerance
-o [ --output ] arg Output file
Output should be:
-t [ --tolerance ] arg (=0.1) Vertical tolerance
-o [ --output ] arg Output file
I've tried this on Boost 1.65.1 on Ubuntu Beaver, and Boost 1.69.0 on DragonFly BSD 5.5, and got the same result.
For an idea on how to fix it, see ldecimal.cpp in https://github.com/phma/bezitopo, but that would output ".1", not "0.1".
Thanks for the deprecation notice at the top Boost Trac page (here).
IMO, the body of live Boost tickets on Trac is a very important resource.
I think the deprecation notice should have at least one more sentence to describe the proposed policy for migrating live Trac tickets to GitHub. Are reporters expected to manually migrate their live tickets over? Or are library maintainers going to do that? Or will it happen automatically? Or are library maintainers expected to continue working through old Trac tickets on Trac?
Thanks.
(Apologies if this isn't the best repo to have raised this issue against.)
Compiling a C++ file with over 20 states takes over 9GB of ram and takes over an hour to compile.
Moved to: boostorg/program_options#66
Dear all,
I'm using boost along with PCL and Intel libRealsense libraries. I've installed the dev version of the boost. While trying to run a PCL visualize in a different thread I get following error(my code also can be seen after the output). Any help will be very appreciated:
[ 33%] Building CXX object CMakeFiles/scanner.dir/src/scanner.cpp.o
In file included from /usr/include/boost/thread/thread_only.hpp:22:0,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /usr/local/include/pcl-1.9/pcl/io/boost.h:51,
from /usr/local/include/pcl-1.9/pcl/io/file_io.h:43,
from /usr/local/include/pcl-1.9/pcl/io/pcd_io.h:44,
from /home/hossein/software/3dscanner/footscanner/src/scanner.cpp:9:
/usr/include/boost/thread/detail/thread.hpp: In instantiation of ‘void boost::detail::thread_data::run() [with F = void (*)(boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >)]’:
/home/hossein/software/3dscanner/footscanner/src/scanner.cpp:501:41: required from here
/usr/include/boost/thread/detail/thread.hpp:116:17: error: too few arguments to function
f();
My code:
...
bool update;
boost::mutex updateModelMutex;
pcl::PointCloudpcl::PointXYZRGB::Ptr cloud (new pcl::PointCloudpcl::PointXYZRGB);
void visualize()
int main()
{
//Start visualizer thread
boost::thread workerThread(visualize);
while(notFinishedProcessing)
{
boost::mutex::scoped_lock updateLock(updateModelMutex);
update = true;
// do processing on cloud
updateLock.unlock();
}
workerThread.join();
}
void visualize()
{
// prepare visualizer named "viewer"
while (!viewer->wasStopped ())
{
viewer->spinOnce (100);
// Get lock on the boolean update and check if cloud was updated
boost::mutex::scoped_lock updateLock(updateModelMutex);
if(update)
{
if(!viewer->updatePointCloud(cloud, "sample cloud"))
viewer->addPointCloud(cloud, colorHandler, "sample cloud");
update = false;
}
updateLock.unlock();
}
}
...
Hello dear team of Boostorg.
First, I am not sure wheter this is the right repository to post this issue, if not, I will grandly repost it somewhere else.
The error is pretty much the same as in the closed issue #9438 and I am not sure why it reappeared.
#include <boost/geometry.hpp>
#include <lemon/list_graph.h>
namespace bg = boost::geometry;
namespace bgi = boost::geometry::index;
using Point = boost::geometry::model::point<double, 2, bg::cs::cartesian>;
using Graph = lemon::ListDigraph;
using Node = lemon::ListDigraph::Node;
typedef std::pair<Point, Node> Pair;
using BoostRTree = bgi::rtree<Pair, bgi::quadratic<16>>;
using BoostQueryResult = std::vector<Pair>;
int main()
{
Point one = Point(10, 51);
Point two = Point(10, 51);
BoostRTree rtreePair = BoostRTree();
Graph graph;
Node dummy1 = graph.addNode();
Node dummy2 = graph.addNode();
rtreePair.insert(std::make_pair(one, dummy1));
return 0;
}
See the messages here: rdkit/rdkit#2379 (comment)
Hi,
I use BOOST, thanks for this great peace of Software!
But i think the Build Documentation should cover Minimal builds as well. Its a pain to built each and everything for any Setup (Debug/Release, diffrent archl diffrent OS, diffrent Compiler ect) and it
would be cool if there is an tutorial which covers the step necessary to build user specific boost
instead of the whole thing. Such a Guide should also cover howto extend modules, which where
not build at the initial build so its possible to rerun the build process of an existing allready
builded BOOST build and only add specific modules and nothing else.
This was first reported by someone else on https://svn.boost.org/trac10/ticket/13293 with:
Not sure if this is intended to be supported - but if so it's an issue with the git super-project - please file an issue on github against that.
Getting shallow local copy of boost submodules fails.
git clone --depth 1 --branch boost-1.69.0 https://github.com/boostorg/boost.git boost
cd boost
git submodule init libs/config
# so far so good
git submodule update --depth 1
# boom
Clone okay
fatal: reference is not a tree: 67102d043643c51104663c5b00e375c2f476cdf5
Unable to checkout '67102d043643c51104663c5b00e375c2f476cdf5' in submodule path 'libs/config'
Somehow wastes bandwidth, which will not suit everyone.
git clone --depth 1 --branch boost-1.69.0 https://github.com/boostorg/boost.git boost_works
cd boost_works
git submodule init libs/config
# so far so good
git submodule update
git --version
git version 2.7.4
Background information on How to make shallow git submodules? - Stack Overflow, your mileage may very depending on your version of git.
Any comment welcome.
I have a class Window
that has 3 static events:
class Window
{
public:
static boost::signals2::signal<void(GLFWwindow*, double, double)> event_MouseMovementCallback;
static boost::signals2::signal<void(GLFWwindow*, double, double)> event_ScrollCallback;
static boost::signals2::signal<void(GLFWwindow*, int, int, int)> event_MouseButtonCallback;
The mere presence of these events break the linking stage of the application with error messages:
error LNK2001: unresolved external symbol "public: static class boost::signals2::signal<void __cdecl(struct GLFWwindow *,double,double),class boost::signals2::optional_last_value,int,struct std::less,class boost::function<void __cdecl(struct GLFWwindow *,double,double)>,class boost::function<void __cdecl(class boost::signals2::connection const &,struct GLFWwindow *,double,double)>,class boost::signals2::mutex> Window::event_MouseMovementCallback" (?event_MouseMovementCallback@Window@@2v?$signal@$$A6AXPAUGLFWwindow@@nn@ZV?$optional_last_value@X@signals2@boost@@hu?$less@H@std@@v?$function@$$A6AXPAUGLFWwindow@@nn@Z@4@V?$function@$$A6AXABVconnection@signals2@boost@@PAUGLFWwindow@@nn@Z@4@Vmutex@34@@signals2@boost@@A)
I get this error for all three of them (so basically 3 errors of the same kind). Note that commenting out the usages of these event changes nothing, but commenting out the events themselves solves the problem so it is highly probable that these definitions cause the issue.
I got boost from your site as a zip, unpacked and compiled with boost.build as per the instructions on your site. I used msvc 14.1 using Visual Studio 2017.
I tried this with precompiled binaries but got the same result.
After building I set the VC++ dirs in the project properties to find the boost headers and the libs.
It didn't work so I tried setting the additional libraries in the Linker too but to no avail.
My project is header only and uses opengl and assimp.
As far as I know boost::signals2 is header only which is why I wonder why I got these errors and how to get rid of them.
Thanks for your help in advance.
wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
[sudo] password for adminonur:
--2019-05-30 14:38:50-- https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
Resolving dl.bintray.com (dl.bintray.com)... 35.157.207.108, 54.93.138.218
Connecting to dl.bintray.com (dl.bintray.com)|35.157.207.108|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-05-30 14:38:50 ERROR 403: Forbidden.
Out-of-Bounds Read: Off-by-One - At Line: 728 of File: opt/buildtools-local/gcc-4.8.2/boost-1.55.0/include/boost/iterator/iterator_facade.hpp
Type Mismatch: Signed to Unsigned - At Line: 47 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/algorithm/string/detail/util.hpp
Type Mismatch: Signed to Unsigned - At Line: 52 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/algorithm/string/detail/util.hpp
Dead Code - At Line: 331 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/basic_streambuf.hpp
Type Mismatch: Signed to Unsigned - At Line: 54 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/completion_condition.hpp
Dead Code - At Line: 148 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/datagram_socket_service.hpp
Memory Leak - At Line: 183 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/deadline_timer_service.hpp
Dead Code - At Line: 228 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/epoll_reactor.ipp
Dead Code - At Line: 231 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/epoll_reactor.ipp
Dead Code - At Line: 240 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/epoll_reactor.ipp
Dead Code - At Line: 263 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/epoll_reactor.ipp
Poor Style: Variable Never Used - At Line: 242 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/epoll_reactor.ipp
Poor Style: Redundant Initialization - At Line: 122 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp
Dead Code - At Line: 194 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/reactive_socket_service_base.ipp
Dead Code - At Line: 195 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/reactive_socket_service_base.ipp
Dead Code - At Line: 248 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/signal_set_service.ipp
Poor Style: Redundant Initialization - At Line: 71 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/signal_set_service.ipp
Buffer Overflow: Format String - At Line: 1980 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Buffer Overflow: Format String - At Line: 1980 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Type Mismatch: Signed to Unsigned - At Line: 1165 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Type Mismatch: Signed to Unsigned - At Line: 779 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Type Mismatch: Signed to Unsigned - At Line: 925 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Unreleased Resource - At Line: 1379 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1406 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1411 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1413 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1415 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1419 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1494 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1501 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 1507 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 397 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Dead Code - At Line: 446 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Missing Check against Null - At Line: 1562 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Unchecked Return Value - At Line: 342 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/socket_ops.ipp
Memory Leak - At Line: 63 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/impl/task_io_service.hpp
Unchecked Return Value - At Line: 52 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/posix_event.hpp
Unchecked Return Value - At Line: 62 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/posix_event.hpp
Unchecked Return Value - At Line: 80 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/posix_event.hpp
Memory Leak - At Line: 407 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/reactive_socket_service.hpp
Memory Leak - At Line: 438 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/reactive_socket_service.hpp
Memory Leak - At Line: 209 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/reactive_socket_service_base.hpp
Memory Leak - At Line: 280 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/reactive_socket_service_base.hpp
Memory Leak - At Line: 152 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/signal_set_service.hpp
Null Dereference - At Line: 43 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/task_io_service_operation.hpp
Dead Code - At Line: 84 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/detail/timer_queue.hpp
Dead Code - At Line: 275 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/impl/read.hpp
Dead Code - At Line: 277 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/impl/read.hpp
Type Mismatch: Signed to Unsigned - At Line: 164 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/impl/read_until.hpp
Dead Code - At Line: 420 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/impl/read_until.hpp
Dead Code - At Line: 338 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/impl/write.hpp
Dead Code - At Line: 340 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/impl/write.hpp
Dead Code - At Line: 109 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/ip/impl/address.ipp
Dead Code - At Line: 119 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/ip/impl/address.ipp
Dead Code - At Line: 55 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/ip/impl/address_v4.ipp
Dead Code - At Line: 148 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/asio/stream_socket_service.hpp
Memory Leak - At Line: 129 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/detail/allocator_version_traits.hpp
Dead Code - At Line: 142 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/detail/allocator_version_traits.hpp
Dead Code - At Line: 598 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/detail/tree.hpp
Poor Style: Variable Never Used - At Line: 598 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/detail/tree.hpp
Poor Style: Variable Never Used - At Line: 607 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/detail/tree.hpp
Memory Leak - At Line: 1258 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/list.hpp
Memory Leak - At Line: 1458 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/slist.hpp
Memory Leak - At Line: 806 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/slist.hpp
Dead Code - At Line: 405 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/slist.hpp
Memory Leak - At Line: 1679 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/vector.hpp
Memory Leak - At Line: 1837 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/vector.hpp
Memory Leak - At Line: 1896 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/vector.hpp
Dead Code - At Line: 1663 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/container/vector.hpp
Dead Code - At Line: 44 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/date_formatting.hpp
Dead Code - At Line: 49 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/date_formatting.hpp
Dead Code - At Line: 92 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/date_formatting.hpp
Dead Code - At Line: 97 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/date_formatting.hpp
Dead Code - At Line: 182 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/date_parsing.hpp
Dead Code - At Line: 183 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/date_parsing.hpp
Dead Code - At Line: 186 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/date_parsing.hpp
Dead Code - At Line: 177 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/int_adapter.hpp
Dead Code - At Line: 453 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/int_adapter.hpp
Memory Leak - At Line: 60 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/posix_time/posix_time_io.hpp
Dead Code - At Line: 237 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_parsing.hpp
Dead Code - At Line: 242 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_parsing.hpp
Dead Code - At Line: 247 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_parsing.hpp
Dead Code - At Line: 287 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_parsing.hpp
Poor Style: Variable Never Used - At Line: 247 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_parsing.hpp
Poor Style: Variable Never Used - At Line: 248 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_parsing.hpp
Dead Code - At Line: 154 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_system_counted.hpp
Poor Style: Variable Never Used - At Line: 154 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/date_time/time_system_counted.hpp
Dead Code - At Line: 312 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/exception/detail/exception_ptr.hpp
Dead Code - At Line: 318 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/exception/detail/exception_ptr.hpp
Dead Code - At Line: 324 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/exception/detail/exception_ptr.hpp
Dead Code - At Line: 328 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/exception/detail/exception_ptr.hpp
Dead Code - At Line: 340 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/exception/detail/exception_ptr.hpp
Dead Code - At Line: 794 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/filesystem/operations.hpp
Dead Code - At Line: 920 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/filesystem/operations.hpp
Out-of-Bounds Read: Off-by-One - At Line: 318 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/function/function_base.hpp
Dead Code - At Line: 39 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/fusion/algorithm/query/detail/any.hpp
Type Mismatch: Signed to Unsigned - At Line: 119 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/fusion/container/list/detail/at_impl.hpp
Type Mismatch: Signed to Unsigned - At Line: 198 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/fusion/container/vector/detail/preprocessed/vector10.hpp
Type Mismatch: Signed to Unsigned - At Line: 99 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/fusion/container/vector/detail/preprocessed/vector10.hpp
Out-of-Bounds Read: Off-by-One - At Line: 67 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/intrusive/bstree.hpp
Memory Leak - At Line: 256 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/intrusive/detail/utilities.hpp
Dead Code - At Line: 171 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp
Dead Code - At Line: 174 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp
Poor Style: Variable Never Used - At Line: 172 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp
Poor Style: Redundant Initialization - At Line: 172 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/iostreams/tee.hpp
Poor Style: Redundant Initialization - At Line: 173 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/iostreams/tee.hpp
Out-of-Bounds Read: Off-by-One - At Line: 728 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/iterator/iterator_facade.hpp
Dead Code - At Line: 2375 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/lexical_cast.hpp
Dead Code - At Line: 71 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/multi_index/detail/auto_space.hpp
Memory Leak - At Line: 598 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/multi_index_container.hpp
Dead Code - At Line: 694 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/multiprecision/detail/number_base.hpp
Type Mismatch: Signed to Unsigned - At Line: 488 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/optional/optional.hpp
Dead Code - At Line: 240 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/optional/optional.hpp
Dead Code - At Line: 449 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/pool/pool_alloc.hpp
Memory Leak - At Line: 37 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/preprocessor/iteration/detail/local.hpp
Poor Style: Value Never Read - At Line: 88 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/proto/expr.hpp
Type Mismatch: Signed to Unsigned - At Line: 1153 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/proto/traits.hpp
Type Mismatch: Signed to Unsigned - At Line: 1163 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/proto/traits.hpp
Type Mismatch: Signed to Unsigned - At Line: 137 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/proto/transform/default.hpp
Type Mismatch: Signed to Unsigned - At Line: 141 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/proto/transform/default.hpp
Type Mismatch: Signed to Unsigned - At Line: 261 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/regex/v4/basic_regex.hpp
Dead Code - At Line: 672 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/regex/v4/perl_matcher_common.hpp
Poor Style: Variable Never Used - At Line: 717 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/regex/v4/perl_matcher_common.hpp
Poor Style: Value Never Read - At Line: 89 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp
Use After Free - At Line: 277 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/smart_ptr/shared_ptr.hpp
Use After Free - At Line: 277 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/smart_ptr/shared_ptr.hpp
Type Mismatch: Signed to Unsigned - At Line: 23 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/detail/attributes.hpp
Type Mismatch: Signed to Unsigned - At Line: 63 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/detail/indirect_iterator.hpp
Poor Style: Variable Never Used - At Line: 79 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/directive/omit.hpp
Dead Code - At Line: 154 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/generate.hpp
Type Mismatch: Signed to Unsigned - At Line: 498 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
Poor Style: Value Never Read - At Line: 739 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
Poor Style: Redundant Initialization - At Line: 97 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/numeric/detail/real_utils.hpp
Poor Style: Variable Never Used - At Line: 104 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/numeric/detail/real_utils.hpp
Poor Style: Value Never Read - At Line: 295 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/karma/numeric/real_policies.hpp
Dead Code - At Line: 269 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp
Poor Style: Redundant Initialization - At Line: 262 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp
Type Mismatch: Signed to Unsigned - At Line: 108 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp
Type Mismatch: Signed to Unsigned - At Line: 109 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp
Dead Code - At Line: 429 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp
Dead Code - At Line: 165 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/qi/numeric/detail/real_impl.hpp
Memory Leak - At Line: 127 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/qi/string/detail/tst.hpp
Dead Code - At Line: 189 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/support/algorithm/any_if.hpp
Type Mismatch: Signed to Unsigned - At Line: 692 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/support/char_encoding/iso8859_1.hpp
Type Mismatch: Signed to Unsigned - At Line: 131 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/support/char_encoding/standard.hpp
Type Mismatch: Signed to Unsigned - At Line: 176 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/support/char_encoding/standard_wide.hpp
Memory Leak - At Line: 62 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/spirit/home/support/iterators/multi_pass.hpp
Dead Code - At Line: 328 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/system/error_code.hpp
Poor Style: Variable Never Used - At Line: 441 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/unordered/detail/table.hpp
Poor Style: Variable Never Used - At Line: 547 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/unordered/detail/table.hpp
Type Mismatch: Signed to Unsigned - At Line: 260 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/unordered/detail/unique.hpp
Type Mismatch: Signed to Unsigned - At Line: 146 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/unordered/detail/util.hpp
Insecure Randomness - At Line: 144 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/uuid/seed_rng.hpp
Insecure Randomness - At Line: 145 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/uuid/seed_rng.hpp
Insecure Randomness - At Line: 146 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/uuid/seed_rng.hpp
Null Dereference - At Line: 48 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/detail/forced_return.hpp
Type Mismatch: Signed to Unsigned - At Line: 48 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/detail/forced_return.hpp
Type Mismatch: Signed to Unsigned - At Line: 148 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/get.hpp
Type Mismatch: Signed to Unsigned - At Line: 163 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/get.hpp
Type Mismatch: Signed to Unsigned - At Line: 182 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/get.hpp
Type Mismatch: Signed to Unsigned - At Line: 198 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/get.hpp
Type Mismatch: Signed to Unsigned - At Line: 91 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/get.hpp
Type Mismatch: Signed to Unsigned - At Line: 939 of File: opt/buildtools-network/gcc-4.8.2/boost-1.55.0/include/boost/variant/variant.hpp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.