Re: New MSVC build error

From: Robert Collins <robertc@dont-contact.us>
Date: Sun, 17 Aug 2003 23:59:19 +1000

On Sun, 2003-08-17 at 23:41, Serassio Guido wrote:
> Hi Robert,
>
> Here is something very "original", a new build error with MSVC ...
>
> comm.cc
> C:\work\nt-3.0\src\comm.cc(920) : error C2893: Failed to specialize
> function template 'bool __thiscall fdc_t::findCallback(P)'
> With the following template arguments:
> 'struct FindWriteCallback'
> Error executing cl.exe.
>
> About MSVC++ problems, what is your opinion about this
> http://www.dinkumware.com/vc_fixes.html ?

Thats just header fixes. We're not using the STL at the moment, so it
doesn't affect us.

I've got no idea why MSVC-- is choking on that particular line. you
might try:

 return (fdc_table[fd].findCallback<struct
FindWriteCallback>(FindWriteCallback()));

though.

This is getting very frustrating though. I mean, this is a stock
standard functor, nothing exotic, special, or bleeding edge.

Really, what does MSVC give us that the mingw win32 headers and
libraries don't? (And please, ignore that other OS projects are using
MSVC. The ones you quoted before where mostly C based IIRC).

Cheers,
Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Sun Aug 17 2003 - 07:59:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:29 MST