Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.
Moderator: Moderators
-
Hydra
- Posts: 4
- Joined: 2003-04-20 21:10
Post
by Hydra » 2003-04-20 21:15
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]
-
Cloyd
- Posts: 8
- Joined: 2003-06-30 09:11
Post
by Cloyd » 2003-07-01 09:37
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
-
Hydra
- Posts: 4
- Joined: 2003-04-20 21:10
Post
by Hydra » 2003-07-01 11:09
Cloyd wrote:Hi, I tried to use your patch
it's not the patch, the problem is most likely to be that you didn't setup your include folders correctly or something.
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
-
Cloyd
- Posts: 8
- Joined: 2003-06-30 09:11
Post
by Cloyd » 2003-07-01 11:24
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.
-
enken
- Posts: 5
- Joined: 2003-07-16 05:12
Post
by enken » 2003-07-16 05:31
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?
-
enken
- Posts: 5
- Joined: 2003-07-16 05:12
Post
by enken » 2003-07-16 07:38
nm, I got it! I hadn't applied the DC++ patch correctly.
Patching both the DC++ source and the STL source gets everything working in .NET 2003. I'm still curious why this is necessary.
Anyway, thx a bunch.
-
Hydra
- Posts: 4
- Joined: 2003-04-20 21:10
Post
by Hydra » 2003-07-16 18:50
enken wrote:Can you provide more info on why .NET 2003 has this problem in the first place?
yes
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..
-
enken
- Posts: 5
- Joined: 2003-07-16 05:12
Post
by enken » 2003-07-16 20:37
Gotcha - makes sense. Perhaps there is an option somewhere to go lax on the ANSI compliance for compatibility, but I agree that the code should be fixed permanently.
Thanks for taking the time to share your code updates.
-
MTW
- Posts: 4
- Joined: 2003-01-06 04:57
Post
by MTW » 2003-08-17 05:13
This post was useful
Works great.
Thank you!

-
PPK
- Posts: 9
- Joined: 2003-01-03 22:11
Post
by PPK » 2003-10-11 06:34
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.cz
Sorry i want space for new CZDC++ releases

-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
Post
by Sedulus » 2003-10-11 10:27
thanks :)
.. unstickifying
Users browsing this forum: Google [Bot] and 0 guests