← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 603071] Re: [0.770] Compilation error on Linux

 

I'm sorry! I did wrong patch files. Attached the correct ones.

netcelli $ bzr branch lp:dcplusplus dcplusplus
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 2177 revision(s).                         

netcelli $ cd dcplusplus
netcelli ~/dcplusplus $ patch -p0 -i ../File.cpp.patch 
patching file dcpp/File.cpp
netcelli ~/dcplusplus $ patch -p0 -i ../File.h.patch
patching file dcpp/File.h
netcelli@amd ~dcplusplus $ patch -p0 -i ../stdinc.patch
patching file dcpp/stdinc.h




** Patch added: "stdinc.patch"
   http://launchpadlibrarian.net/51615078/stdinc.patch

-- 
[0.770] Compilation error on Linux
https://bugs.launchpad.net/bugs/603071
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.

Status in DC++: New

Bug description:
Last core doesn't compile on Linux.

In class FindFileIter, DirData structure has no member called ent and base. Then declaration of  != operator is wrong.

Also there are some errors related to std::tr1 members; changing header inclusion in stdinc.h fixes this.

I have attached 3 patches that fix File.h, File.cpp and stdinc.h





References