Per Jessen wrote:

> Per Jessen wrote:
> 
>> Post, Mark K wrote:
>>
>>  >
>>  > In file included from /usr/include/c++/3.2/string:57,
>>  >                  from LVCSim_liveCacheSink.cpp:60:
>>  > /usr/include/c++/3.2/bits/basic_string.tcc: In member function
>>  >    `_Alloc::size_type std::basic_string<_CharT, _Traits,
>>  > _Alloc>::rfind(const _CharT*, _Alloc::size_type, _Alloc::size_type) 
>> const':
>>  > /usr/include/c++/3.2/bits/basic_string.tcc:713: parse error before 
>> `(' token
>>  >
>>  > The line at 713 is this:
>>  >       __pos = std::min(__size - __n, __pos);
>>
>>


I put out a question on gcc-help, and it looks like not it's quite what I thought,
but close. there is indeed a templated min() function defined in std:: - but
I suspect we have a #defined min() function - I've found 8 source files with
a min() defined.  One of these is screwing it up.


/per


-- 
regards,
Per Jessen, Zurich
http://www.enidan.com - home of the J1 serial console.

Windows 2001: "I'm sorry Dave ...  I'm afraid I can't do that."

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to