Re: Compiling with Mingw32, am I missing something ??
Date: Fri, 11 Apr 2008 21:07:58 +0200
please dont hijack other posts - instead post a reply to what you got back from me to keep mail history intact. I have changed back to original subject.
>> The MINGW version _MINGW32_VERSION 2.4
>> The gcc version 3.2 <mingw specail 20020817-1>
ok, that explains; both is very old, and I would really suggest that you update to a more recent version;
f.e. I have a gcc version 3.2.3 (mingw special 20030504-1) which has _MINGW32_VERSION 3.1, and that defines already ssize_t; so since we are talking about a free compiler I think its time to update after almost 5 years; f.e. I recomment and use 3.4.5 which works great (though I dont use the Dev-CPP IDE integration).
If you really dont want to upgrade for whatever reason then you can edit sys/types.h and add:
typedef long _ssize_t;
typedef _ssize_t ssize_t;
#endif /* Not _SSIZE_T_ */
but I dont recomment that; better you upgrade.
Received on 2008-04-11