-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bruno Haible on 12/19/2009 4:30 AM:
> This is right for platforms for which the '_offset' field is declared as an
> 'fpos_t'. Thanks. But for the platforms where '_offset' is a scalar type
> (_off64_t on Cygwin), and where fpos_t might or
Hi Eric,
> #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD,
> DragonFly, MacOS X, Cygwin */
> - fp_->_offset = pos;
> + /* Use a union, since on NetBSD, the compilation flags determine
> + whether fpos_t is typedef'd to off_t or a struct containing a
> + sing
> Sorry for the delay, and thanks again for the report. I finally took time
> on a NetBSD machine, and reproduced the problem by using CC='gcc -ansi'.
> This patch fixed the issue for me, so I'm applying it.
Eric,
Thanks a lot and Happy Christmas!
Alex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 11/17/2009 6:12 AM:
> According to Alexander Nasonov on 11/17/2009 2:37 AM:
>> it fails here:
>
>> fflush.c(95): error: a value of type "__off_t={__int64_t={long long}}"
>> cannot be assigned to an entity of type "fpos_t"
>
17.11.09, 06:12, "Eric Blake" :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> Are you sure you are using a C++ compiler instead of a C compiler?
I was refering to the product called "IntelĀ® C++ Compiler Professional Edition
for Linux". They ship the C compiler as well.
Thanks,
Alex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Alexander Nasonov on 11/17/2009 2:37 AM:
> it fails here:
>
> fflush.c(95): error: a value of type "__off_t={__int64_t={long long}}" cannot
> be assigned to an entity of type "fpos_t"
> fp_->_offset = pos;
> ^
> comp