Opened 21 years ago

Last modified 21 years ago

#608 closed Bug report

Current cvs source doesn't compile (FileZilla.cpp line 146)

Reported by: puddle Owned by:
Priority: normal Component: Other
Keywords: Cc: puddle, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Current cvs source doesn't compile:

source\FileZilla.cpp(146) : error C2675: unary '+' :
'class CString' does not define this operator or a
conversion to a type acceptable to the predefined operator

relevant line is

config = +token;

My guess is that that is a typo for

config += token;

Change History (4)

comment:1 by Tim Kosse, 21 years ago

Thanks for the fix. VC++7.1 did compile this without
problems though.

comment:2 by puddle, 21 years ago

So I'm screwed if I use MSVC6?

comment:3 by Tim Kosse, 21 years ago

No, with your fix it works fine with MSVC6. What I meant was
that this typo slipped through the VC7.1 compiler.

comment:4 by puddle, 21 years ago

Oooh.

I didn't even try my fix actually (because I don't normally
change the filezilla source) -- I'll try it out.

But, I saw a release note on the latest, saying something
about going cross-platform, so maybe all this code will be
obsolete soon anyway.

Thanks for everything!

Note: See TracTickets for help on using tickets.