19 Jun 2017 3:04
#19777
The following code compiles fine under 32 bit SCC but under 64bit it fails
[Silverfrost SCC/WIN32 Ver 3.88 Copyright (c) Silverfrost Ltd 2017]
3/0257 inline int ios::setf(int flags, int mask)
2/0113 virtual streampos seekpos(streampos, int = ios::in | ios::out
);
*** Constant cannot be converted to type int (In include file C:\Program Files
(x86)\Silverfrost\FTN95\INCLUDE\streambu.h)
2/0112 int = ios::in | ios::out);
*** Constant cannot be converted to type int (In include file C:\Program Files
(x86)\Silverfrost\FTN95\INCLUDE\streambu.h)
0006 }
*** Attempt to emit 32-bit instruction in /64 mode
3 ERRORS [<SIMPLE> SCC/WIN32 Ver 3.88]
*** Compilation failed
The code
#include <iostream.h>
int main()
{
return(0);
}