Silverfrost Forums

Welcome to our forums

Bug with <iostream.h> in 64bit

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);
}
19 Jun 2017 4:25 #19779

It is possible to use /64 on the SCC command line but 64 bit SCC is not fully tested and is not currently supported.

Please login to reply.