logo       

Re: 5.5.40 Compatibility with MSVC7.1: msg#01600

Subject: Re: 5.5.40 Compatibility with MSVC7.1
On Monday 19 December 2005 16:08, Alan Baljeu wrote:
> The highlighted line fails to compile with the new keyword (it shouldn't be
> a keyword because of extern "C", but I can't fix the compiler).
>
>  @@ -325,4 +327,5 @@
>    PL_EXPORT(void)            Sclearerr(IOSTREAM *s);
>    PL_EXPORT(void)            Sseterr(IOSTREAM *s, int which, const char 
> *message);
> -> PL_EXPORT(int)             Ssetenc(IOSTREAM *s, IOENC new, IOENC *old);
>    PL_EXPORT(int)             Sflush(IOSTREAM *s);
>    PL_EXPORT(long)            Ssize(IOSTREAM *s);
>
>
> Suggested fix:
> -> PL_EXPORT(int)             Ssetenc(IOSTREAM *s, IOENC knew, IOENC *old);

`Fixed' :-)

        Thanks --- Jan




<Prev in Thread] Current Thread [Next in Thread>