7 Sep
2016
7 Sep
'16
10:31 a.m.
On 6 September 2016 at 21:32, Edward Diener
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.