Boost logo

Boost :

Subject: Re: [boost] [xpressive] Performance Tuning?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-07-19 20:19:10


On Sun, Jul 19, 2009 at 6:13 PM, OvermindDL1<overminddl1_at_[hidden]> wrote:
> On Sun, Jul 19, 2009 at 6:13 PM, OvermindDL1<overminddl1_at_[hidden]> wrote:
>> On Sun, Jul 19, 2009 at 5:24 PM, Edward Grace<ej.grace_at_[hidden]> wrote:
>>>
>>> On 20 Jul 2009, at 00:20, OvermindDL1 wrote:
>>>
>>>> On Sun, Jul 19, 2009 at 5:15 PM, Edward Grace<ej.grace_at_[hidden]>
>>>> wrote:
>>>>>
>>>>> Can you try compiling ejg_uint_parser.cpp?
>>>>>
>>>>>  http://tinyurl.com/klh2hc
>>>>
>>>> No, because your tinyurl link goes directly to the root of the vault,
>>>> not any file, and could not find the file when I placed the name in
>>>> the search.  :)
>>>
>>> As the grate [sic] mind Homer would have said
>>>
>>> "Doh"
>>>
>>> Try this:
>>>
>>> http://tinyurl.com/lro5ok
>>>
>>> file "ejg_uint_parser.cpp"
>>
>> Okay, compiled the code, got this:
>> 1>------ Build started: Project: ejg_uint_parser_timing,
>> Configuration: Release Win32 ------
>> 1>Compiling...
>> 1>ejg_uint_parser.cpp
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/statistics/statistics.hpp(417)
>> : error C2220: warning treated as error - no 'object' file generated
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/statistics/statistics.hpp(417)
>> : warning C4244: 'return' : conversion from 'double' to 'unsigned
>> int', possible loss of data
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/statistics/statistics.cpp(28)
>> : error C2039: 'ptr_fun' : is not a member of 'std'
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/statistics/statistics.cpp(28)
>> : error C2873: 'ptr_fun' : symbol cannot be used in a
>> using-declaration
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/timer.cpp(273)
>> : warning C4003: not enough actual parameters for macro 'max'
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/timer.cpp(384)
>> : warning C4003: not enough actual parameters for macro 'min'
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/timer.cpp(385)
>> : warning C4003: not enough actual parameters for macro 'max'
>> 1>using native typeof
>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\other_includes\ejg/timer.hpp(1018)
>> : warning C4512: 'ejg::generic_timer<ticks>' : assignment operator
>> could not be generated
>> 1>        with
>> 1>        [
>> 1>            ticks=ticks
>> 1>        ]
>> 1>        .\ejg_uint_parser.cpp(133) : see reference to class template
>> instantiation 'ejg::generic_timer<ticks>' being compiled
>> 1>        with
>> 1>        [
>> 1>            ticks=ticks
>> 1>        ]
>> 1>Build Time 0:09
>> 1>Build log was saved at
>> "file://r:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing\Release\BuildLog.htm"
>> 1>ejg_uint_parser_timing - 3 error(s), 5 warning(s)
>>
>>
>> So yes, this is very much not usable for me, but there is your
>> buildlog anyway.  :)
>>
>
> Er, and yes, this is with MSVC8(SP1) on Windows XP, using Boost Trunk
> from about a week ago and your vault files.
>

The main error there, the ptr_fun, you did not include <functional>.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk