search for: _distance

Displaying 3 results from an estimated 3 matches for "_distance".

Did you mean: distance
2005 Jan 14
1
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
This sounds suspiciously like the problem I ran into with VC++, whose std implementation also includes _Distance. Could mingw have copied VC++ too closely? The fix with VC++ was to add a "using std::_Distance" line (or just "using namespace std". Chris Lattner wrote: > On Fri, 14 Jan 2005, Henrik Bach wrote: > >> when building the llvm cfe (3.4 derivative), for the mingw pl...
2005 Jan 14
2
[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 of `lrand48' must be available c:/projects/build/MinGW/llv...
2005 Jan 14
0
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
.../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 > c:/proj...