This is the mail archive of the
mailing list for the pthreas-win32 project.
RE: error C2678 and C2440
Seems to me that, ever since people started ballyhooing the "beauties" of C,
because of its "typing", those same people have been finding ways to "get
around" that very same typing, by either "assuming" that something is an int
or by using casting. Let's not blame this structure on "windows". The
beautiful thing about typing is that it allows you to port an application to
ANY platform, without having to worry about the underlying real type.
And what is an "int"? Depends on the architecture (32 vs. 64 bits) and the
compiler that generates the code.