From: Jacek S. <arn...@gm...> - 2008-05-22 19:36:42
|
Please commit boost and openssl upgrade, const / other minor code fixes that also work for gcc don't include unsorted* all over dwt - create a dwt_unsorted* and include that instead I still need to think about the added libs (compiled openssl, intl, etc), and what implications that might have... /J poy wrote: > i have tried again using the boost folder from the current repository, and > it appears the include error was much easier to solve than updating all > boost files... all i had to do was make the "BOOST_HAS_GCC_TR1" define > available for MSVC too (yes, it doesn't sound correct, but boost assumes you > have all tr1 containers only in that case; that's up to future boost > versions to fix that...). > > note; when compiling with MSVC 9, boost warns "Unknown compiler version - > please run the configure tests and report the results". this is not > important, and upgrading boost to 1.35 would remove the warning. > > the new patch is much lighter and hopefully easier to read. its 1MB+ size is > caused by the pre-compiled openssl libraries that are included. > > the mailing-list still won't accept it so it's here: > http://www.sendspace.com/file/gmlr5h > > poy > > ----- Original Message ----- > From: "poy" <po...@12...> > To: "dcplusplus-devel" <dcp...@li...> > Sent: Sunday, May 18, 2008 1:52 AM > Subject: [dcplusplus-devel] patch: MSVC compiling > > >> note; mostly because of the boost updating, the patch is huge (50 MB) so >> i've uploaded it here: http://www.sendspace.com/file/8htnse >> >> since the MSVC people recently released the final version of their tr1 >> add-on for MSVC 9 (2008), i tried to compile DC++ again with MSVC. i must >> say i've been pleasantly surprised by the fact that it took few changes >> (code-wise) for DC++ to be compilable with MSVC again. moreover, there is >> no >> added work-around; changes suggested/forced by MSVC actually all make >> sense. >> besides minor changes here and there, the patch fixes the following in >> order >> to make DC++ compilable with MSVC (it's roughly a change-log of what i had >> to do...): >> >> - SCons was always using MinGW and the Environment creation wasn't correct >> after my recent help changes; fixed. >> >> - updated boost to 1.35 and added the fusion/ sub-directory, required when >> compiling with MSVC. >> >> - include fixes for tr1 containers in dwt (since GCC uses <tr1/X> and >> MSVC/STLPort use <X>). >> >> - operator() had to be const in dwt dispatchers. >> >> - added precompiled header generation with MSVC using the SCons PCH >> builder. >> >> - fixed some duplicate IDC_STATIC ids, and made 3 more strings >> translatable. >> >> - openssl: added .lib files in openssl/lib compiled statically with MASM >> (optimized); updated include files to the latest version. >> >> - intl: gettext tools can't be compiled with MSVC anymore ("MS Visual >> C/C++ >> with "nmake" is no longer supported." in the gettext win32-readme), so >> i've >> downloaded compiled .lib and .dll intl files from >> http://www.gtk.org/download-windows.html and that library is dynamically >> linked when compiling with MSVC (see comments in intl/SConscript). >> >> - added a little trick to add a Common Controls 6 manifest directly in the >> exe. >> >> - updated Compile.txt; there's a link to that tr1 feature pack. i've >> stated >> that MSVC is supported again (provided that one has MSVC 9 and the tr1 >> add-on) and boost/STLPort means of getting tr1 containers are deprecated. >> >> poy >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> dcplusplus-devel mailing list >> dcp...@li... >> https://lists.sourceforge.net/lists/listinfo/dcplusplus-devel >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > dcplusplus-devel mailing list > dcp...@li... > https://lists.sourceforge.net/lists/listinfo/dcplusplus-devel > |