Patch for STL Port 4.5.3 to compile under VS.net 2003
Moderator: Moderators
Patch for STL Port 4.5.3 to compile under VS.net 2003
Use "patch -lp 1 < stlport4.5.3-vs.net-2003.diff" to apply the diff, I used the "patch" tool from cygwin. (adjust the -p parameter depending on your current directory at time of calling patch program)
Grab the file here:
http://www.zenadsl5874.zen.co.uk/temp/d ... -2003.diff
See my other post for a patch to get 0.242 compiling:
http://dcplusplus.sourceforge.net/forum ... 2004#12004
Please reply to this if you thought this post was useful.
[edit, by Sedulus]
with more and more people using vs.net2k3, it's time to stickify this baby
thanks
[/edit]
Grab the file here:
http://www.zenadsl5874.zen.co.uk/temp/d ... -2003.diff
See my other post for a patch to get 0.242 compiling:
http://dcplusplus.sourceforge.net/forum ... 2004#12004
Please reply to this if you thought this post was useful.
[edit, by Sedulus]
with more and more people using vs.net2k3, it's time to stickify this baby
thanks
[/edit]
Hi, I tried to use your patch but I've got a plenty of errors. I dunno, maybe it's my .NET 2003 fault (it's the final beta not the release version).
Before when I tried to build I had many errors with _string.c but now unfortunately errors are everywhere thoughout the code. I'll try to fix'em up in the next days (or weeks) and I'll let you know
Before when I tried to build I had many errors with _string.c but now unfortunately errors are everywhere thoughout the code. I'll try to fix'em up in the next days (or weeks) and I'll let you know
it's not the patch, the problem is most likely to be that you didn't setup your include folders correctly or something.Cloyd wrote:Hi, I tried to use your patch
Note this patch was for the stlport that's alreadby been configured for use with dc++ and not for the stock 4.5.3 from the stlport website. However, the changes that the patch makes will probably be the same.
all relating to the "typename" c++ keyword in the templates
I don't have only problems with my own version of dc++ but even building dc++ std... It builds correctly with vs6 and .NET but not on .NET 2003.
I dunno what it is... maybe it's .NET 2003's fault maybe mine...
The only thing i know is that i know to have configured correctly my include path and I had no problems before...
btw i don't have enough time to keep fixing (or even understand) the errors the compilers returns. I thank you for the time you dedicated to me but I think I'll go back with my old vs6.
I dunno what it is... maybe it's .NET 2003's fault maybe mine...
The only thing i know is that i know to have configured correctly my include path and I had no problems before...
btw i don't have enough time to keep fixing (or even understand) the errors the compilers returns. I thank you for the time you dedicated to me but I think I'll go back with my old vs6.
I have .NET 2003 and was surprised that STL wouldn't compile correcting following the Compile.txt instructions. I identified the problem as relating to the "typename" keyword, so I was happy to see your patch.
Unfortunately, I too receive many -more- errors after applying the patch. I used the patch tool from cygwin, successfully, or so I thought. Also tried a native windows patch util, which is the same GNU code, with the same result. I'm definitely patching the dcpp version of stlport.
Can you provide more info on why .NET 2003 has this problem in the first place?
Unfortunately, I too receive many -more- errors after applying the patch. I used the patch tool from cygwin, successfully, or so I thought. Also tried a native windows patch util, which is the same GNU code, with the same result. I'm definitely patching the dcpp version of stlport.
Can you provide more info on why .NET 2003 has this problem in the first place?
yesenken wrote: Can you provide more info on why .NET 2003 has this problem in the first place?
microsoft made it's C++ compiler ANSI compliant, which requires strict use of the "typename" keyword in templates.
Really, stl and dc++ should be fixed to be ANSI compliant code (which is actually one of the things these patches do)
The other fix they make is that the version number of microsoft's compilr changed, so conditional #ifdefs and #ifndef's that check the compiler version also need to be updated.
Simple really..
-
- Posts: 184
- Joined: 2003-05-26 11:29
- Location: UK
This link gives you Stlport already modified if you have a problem with patch.
http://www.tesnetwork.cz/00007467/czdc/ ... VS2003.rar
http://www.tesnetwork.cz/00007467/czdc/ ... VS2003.rar
Always remember you're unique, just like everyone else.
New STLPort-4.5.0725 from dc++ sourceforge download working with .net 2003 without problems for me. Now i delete this patched version from my webspace on tesnetwork.czGasman1015 wrote:This link gives you Stlport already modified if you have a problem with patch.
http://www.tesnetwork.cz/00007467/czdc/ ... VS2003.rar
Sorry i want space for new CZDC++ releases
thanks :)
.. unstickifying
.. unstickifying
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)