On 06 September 2016 19:24, Stephan T. Lavavej wrote:
[Rob Stewart]
Can you tell us what change can be made to the code to effect what had been gained by using that macro?
It's unconditionally:
#define _FPOSOFF(fp) ((long long)(fp))
So you should be able to replace it with a static_cast, or eliminate it entirely.
STL
These days I'm sure that's true, but formerly don't I remember on 32-bit platforms it could be something like this? typedef struct fpos_t { unsigned int lopart; int hipart; } fpos_t; #define _FPOSOFF(fp) ((long)(fp).lopart) How long in the tooth am I? Gareth ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards