|
Boost : |
Subject: Re: [boost] [iostream] Boost should not be saying "_FPOSOFF"
From: Daniel James (dnljms_at_[hidden])
Date: 2016-09-07 06:31:44
On 6 September 2016 at 21:32, Edward Diener <eldiener_at_[hidden]> wrote:
>
> The best way for iostreams seems to be to create and use its own macro,
> equivalent to _FPOSOFF(fp), for older versions of VC++ but hardcodes as
> '((long long)(fp))' for VC++14 on up. This would allow Microsoft to remove
> it in future versions of VC++ without affecting iostreams.
IMO it would be better if all new compilers/libraries used the same
implementation, and the special Dinkumware implementation used only
for older compilers/librarires. Although that might not be possible,
and there seem to be some functions that are only defined for
Dinkumware, so they might need to be supported. Anyway, it's up to
whoever does this.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk