Thomas Dreibholz wrote:Irene, what is defined in VC6?
Compiling as C++ is not a big problem. I have added the type casts and created a test package. You can find it here:
http://www.exp-math.uni-essen.de/~dreibh/temp/sctplib-1.0.8beta2.tar.gz
Thanks!
Just FYI, here are a few minor points that I encountered when compiling sctplib with VC(++) 8 and 9, which are both a lot more standards conforming than the older VC(++) 6, and thus possibly more picky. VC++ 6 is btw. the only Windows compiler for which precompiled glib binaries are available...
Anyways, these points might be related to compiler version issues or something else, I just noted them for completeness:
a) The Microsoft compilers predefine the _WIN32, but not the WIN32 macro, so the code should probably test for _WIN32, not WIN32.
I fixed this a couple of weeks ago. Thomas, I think you changed it again. Did you make sure that
b) The types gint32_t and uint32_t are totally unknown even to the glib. Although the fix is easy (add "typedef int gint32_t; typedef unsigned int uint32_t;" to globals.hpp), I think they shouldn't be used at all.
Maybe you can provide a unified diff?
c) With 1.0.7 I had some problems wrt. #inlude <sys/time.h> vs. #include <time.h>. No problems with 1.0.8beta2 though -- thanks! :-)
d) There are several warnings about comparisons between signed/ unsigned at the highest warning level (which I compile all my code with...). Any interest in a detailed report?
Best,
Carsten
--
Ca3D - Engine http://www.Ca3D-Engine.de
Carsten Fuchs http://www.Ca3D-Engine.de/c_Carsten.php
_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion
Archive powered by MHonArc 2.6.19+.