search for: stl_algo

Displaying 20 results from an estimated 26 matches for "stl_algo".

2016 Nov 20
3
uninitialized values in Attributes.cpp
...== by 0x13FCF12: operator()<const std::pair<unsigned int, llvm::Attribute> *> (predefined_ops.h:234) ==29299== by 0x13FCF12: __find_if<const std::pair<unsigned int, llvm::Attribute> *, __gnu_cxx::__ops::_Iter_pred<(lambda at ../lib/IR/Attributes.cpp:627:3)> > (stl_algo.h:140) ==29299== by 0x13FCF12: __find_if<const std::pair<unsigned int, llvm::Attribute> *, __gnu_cxx::__ops::_Iter_pred<(lambda at ../lib/IR/Attributes.cpp:627:3)> > (stl_algo.h:161) ==29299== by 0x13FCF12: find_if<const std::pair<unsigned int, llvm::Attribute> *...
2016 Nov 20
3
uninitialized values in Attributes.cpp
...;const std::pair<unsigned int, >> llvm::Attribute> *> (predefined_ops.h:234) >> ==29299== by 0x13FCF12: __find_if<const std::pair<unsigned int, >> llvm::Attribute> *, __gnu_cxx::__ops::_Iter_pred<(lambda at >> ../lib/IR/Attributes.cpp:627:3)> > (stl_algo.h:140) >> ==29299== by 0x13FCF12: __find_if<const std::pair<unsigned int, >> llvm::Attribute> *, __gnu_cxx::__ops::_Iter_pred<(lambda at >> ../lib/IR/Attributes.cpp:627:3)> > (stl_algo.h:161) >> ==29299== by 0x13FCF12: find_if<const std::pair<un...
2005 Jan 14
2
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
...from ../../../../../../src/llvm-gcc-1/llvm-gcc/libstdc++-v3/testsuite/testsuite_hooks.h:70, from ../../../../../../src/llvm-gcc-1/llvm-gcc/libstdc++-v3/testsuite/testsuite_hooks.cc:31: c:/projects/build/MinGW/llvm-gcc-1-1/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algo.h: In function `_Distance std::__random_number(_Distance)': c:/projects/build/MinGW/llvm-gcc-1-1/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algo.h:1616: error: there are no arguments to `lrand48' that depend on a template parameter, so a declaration of `lrand48' must be available...
2005 Jan 14
0
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
...rom > ../../../../../../src/llvm-gcc-1/llvm-gcc/libstdc++-v3/testsuite/testsuite_hooks.h:70, > from > ../../../../../../src/llvm-gcc-1/llvm-gcc/libstdc++-v3/testsuite/testsuite_hooks.cc:31: > c:/projects/build/MinGW/llvm-gcc-1-1/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algo.h: > In function `_Distance std::__random_number(_Distance)': > c:/projects/build/MinGW/llvm-gcc-1-1/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algo.h:1616: > error: there are no arguments to `lrand48' that depend on a template > parameter, so a declaration of `lrand48'...
2005 Jan 14
1
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
..../../../../src/llvm-gcc-1/llvm-gcc/libstdc++-v3/testsuite/testsuite_hooks.h:70, >> >> from >> ../../../../../../src/llvm-gcc-1/llvm-gcc/libstdc++-v3/testsuite/testsuite_hooks.cc:31: >> >> c:/projects/build/MinGW/llvm-gcc-1-1/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algo.h: >> In function `_Distance std::__random_number(_Distance)': >> c:/projects/build/MinGW/llvm-gcc-1-1/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algo.h:1616: >> error: there are no arguments to `lrand48' that depend on a template >> parameter, so a declaration...
2008 Oct 14
3
[LLVMdev] MINGW Compiler error.
...c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/ boost_concept_check.h:62: instantiated from 'void __gnu_cxx::__function_requires() [with _Concept = __g nu_cxx::_EqualOpConcept<llvm::BasicBlock, llvm::BasicBlock*>]' c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_algo.h: 3810: instan tiated from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = llvm::P redIterator<llvm::BasicBlock, llvm::value_use_iterator<llvm::User> >, _Tp = llvm ::BasicBlock*]' BasicBlock.cpp:180: instantiated from here c:\mingw\bin\../lib/gcc/mingw...
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
...tax-only -D_GLIBCXX_CONCEPT_CHECKS > In file included from /usr/include/c++/8/algorithm:62, > from test.cpp:1: > test.cpp:3:27: in ‘constexpr’ expansion of ‘std::min<int>(std::initializer_list<int>{((const int*)(& ._61)), 6})’ > /usr/include/c++/8/bits/stl_algo.h:3451:31: error: ‘constexpr _FIter std::min_element(_FIter, _FIter) [with _FIter = const int*]’ called in a constant expression > { return *std::min_element(__l.begin(), __l.end()); } > ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/c++/8/bits/stl_algo.h:5610:...
2010 Aug 12
0
[LLVMdev] llvm build error with gcc-4.3.2 on OpenSolaris
...olaris2.11/4.3.2/../../../../include/c++/4.3.2/bits/boost_concept_check.h:62: instantiated from ‘void __gnu_cxx::__function_requires() [with _Concept = __gnu_cxx::_EqualOpConcept<llvm::BasicBlock, llvm::BasicBlock*>]’ /usr/lib/gcc/i386-pc-solaris2.11/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h:3810: instantiated from ‘_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = llvm::PredIterator<llvm::BasicBlock, llvm::value_use_iterator<llvm::User> >, _Tp = llvm::BasicBlock*]’ BasicBlock.cpp:181: instantiated from here /usr/lib/gcc/i386-pc-solaris2.11/4.3.2/../../....
2008 Oct 14
0
[LLVMdev] MINGW Compiler error.
...c/mingw32/4.3.0/include/c++/bits/ > boost_concept_check.h:62: > instantiated from 'void __gnu_cxx::__function_requires() [with > _Concept = __g > nu_cxx::_EqualOpConcept<llvm::BasicBlock, llvm::BasicBlock*>]' > c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_algo.h: > 3810: instan > tiated from '_IIter std::find(_IIter, _IIter, const _Tp&) [with > _IIter = llvm::P > redIterator<llvm::BasicBlock, llvm::value_use_iterator<llvm::User> > >, _Tp = llvm > ::BasicBlock*]' > BasicBlock.cpp:180: instantiated from...
2019 Oct 02
2
SourceMgr vs EXPENSIVE_CHECKS
...gt;> > In file included from /usr/include/c++/8/algorithm:62, >> > from test.cpp:1: >> > test.cpp:3:27: in ‘constexpr’ expansion of ‘std::min<int>(std::initializer_list<int>{((const int*)(& ._61)), 6})’ >> > /usr/include/c++/8/bits/stl_algo.h:3451:31: error: ‘constexpr _FIter std::min_element(_FIter, _FIter) [with _FIter = const int*]’ called in a constant expression >> > { return *std::min_element(__l.begin(), __l.end()); } >> > ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >> > /usr/include/...
2016 Jan 13
2
RFC: Extend UBSan with qsort checks
...PM, Yury Gribov <y.gribov at samsung.com> wrote: > >> On 01/13/2016 03:10 AM, Kostya Serebryany wrote: >> >>> FTR, here is one way to implement this in the library: >>> >>> https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_9/libstdc++-v3/include/bits/stl_algo.h >>> Search for "check sort predicate for strict weak ordering" >>> >> >> Nice, although this wouldn't catch violations of transitivity (which is >> probably the most important type of bug). >> >> > I thought it would... But debug o...
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
...vector<long unsigned int, std::allocator<long unsigned int> >*>()’ /home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:64:25: in ‘constexpr’ expansion of ‘std::min<int>(std::initializer_list<int>{((const int*)(& ._125)), 4})’ /usr/include/c++/8/bits/stl_algo.h:3451:31: error: ‘constexpr _FIter std::min_element(_FIter, _FIter) [with _FIter = const int*]’ called in a constant expression { return *std::min_element(__l.begin(), __l.end()); } ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:5610:12: note: ‘cons...
2005 May 12
0
[LLVMdev] Cygwin binaries
...berty\config.h, because it doesn't exist on MinGW. ============== On error: ============== lrealpath.c:110: error: `_PC_PATH_MAX' undeclared (first use in this function) -------------- Solution: Add this after line 41: #define _PC_PATH_MAX PATH_MAX ============== On error: ============== stl_algo.h:1616: error: there are no arguments to `lrand48' that depend on a template parameter, so a declaration of `lrand48' must be available stl_algo.h:1616: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ------------...
2016 Jan 14
2
RFC: Extend UBSan with qsort checks
Inviting Paul to the party (he wrote the libstdc++ sort checker <https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_9/libstdc++-v3/include/bits/stl_algo.h> ). On Tue, Jan 12, 2016 at 11:09 PM, Yury Gribov <y.gribov at samsung.com> wrote: > On 01/13/2016 10:08 AM, Yury Gribov wrote: > >> On 01/13/2016 09:57 AM, Kostya Serebryany wrote: >> >>> On Tue, Jan 12, 2016 at 10:28 PM, Yury Gribov <y.gribov at samsung....
2005 May 09
3
[LLVMdev] Cygwin binaries
>>Does anyone know a source for a pre-built version of the same? > >To my knowledge there is no pre-built version of the cfe. See following link for CFE :- http://illuvium.com/download/ It maybe a bit out of date. I believe the CFE maybe broken at the moment, at least the Cygwin nightly test reports that it is broken and I believe this is the same thing ?
2016 Jan 13
2
RFC: Extend UBSan with qsort checks
On 01/13/2016 03:10 AM, Kostya Serebryany wrote: > FTR, here is one way to implement this in the library: > https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_9/libstdc++-v3/include/bits/stl_algo.h > Search for "check sort predicate for strict weak ordering" Nice, although this wouldn't catch violations of transitivity (which is probably the most important type of bug). > On Tue, Jan 12, 2016 at 2:57 PM, Alexey Samsonov via llvm-dev < > llvm-dev at lists.llvm.or...
2006 Apr 05
1
build error : xapian-core-0.9.4_svn6707 with UTF-8 patch
...ryparser/queryparser.lemony:549: error: `g_unichar_isalnum' cannot be used as a function /u1/olly/xapian-svn-snapshot/trunk/xapian/xapian-core/queryparser/queryparser.lemony:194: warning: unused variable 'gchar' /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h: In function `_InputIterator std::find_if(_InputIterator, _InputIterator, _Predicate, std::input_iterator_tag) [with _InputIterator = AccentNormalisingItor, _Predicate = bool]': /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:336: instantiated from `_I...
2008 Oct 15
1
[LLVMdev] MINGW Compiler error.
...include/c++/bits/ >> boost_concept_check.h:62: >> instantiated from 'void __gnu_cxx::__function_requires() [with >> _Concept = __g >> nu_cxx::_EqualOpConcept<llvm::BasicBlock, llvm::BasicBlock*>]' >> c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_algo.h: >> 3810: instan >> tiated from '_IIter std::find(_IIter, _IIter, const _Tp&) [with >> _IIter = llvm::P >> redIterator<llvm::BasicBlock, llvm::value_use_iterator<llvm::User> >>> , _Tp = llvm >> ::BasicBlock*]' >> BasicBlock.cpp:1...
2008 Oct 15
2
[LLVMdev] MINGW Compiler error.
...ude/c++/bits/ >> boost_concept_check.h:62: >> instantiated from 'void __gnu_cxx::__function_requires() [with >> _Concept = __g >> nu_cxx::_EqualOpConcept<llvm::BasicBlock, llvm::BasicBlock*>]' >> c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_algo.h: >> 3810: instan >> tiated from '_IIter std::find(_IIter, _IIter, const _Tp&) [with >> _IIter = llvm::P >> redIterator<llvm::BasicBlock, llvm::value_use_iterator<llvm::User> >> >>> , _Tp = llvm >>> >> ::Basi...
2006 Mar 03
1
xapian-0.9.4 queryparser build errors after applying utf-8 patch
...r.lemony:539: error: no match for 'operator*' in '*it' /u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:539: error: `g_unichar_isalnum' cannot be used as a function /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/stl_algo.h: In function `_InputIterator std::find_if(_InputIterator, _InputIterator, _Predicate, std::input_iterator_tag) [with _InputIterator = AccentNormalisingItor, _Predicate = bool]': /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/stl_algo.h:336: instantiated from `_Inp...