missing #endif in sqUnixMain.c ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

missing #endif in sqUnixMain.c ?

stes
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Hi,

Platform:  Solaris 11.3 with SunPro C compiler 12.6.

In order to compile the latest sources, I have to patch

platforms/unix/vm/sqUnixMain.c

#if defined(AIO_DEBUG)
   printf("  "VMOPTION("aiolog")"               output async io logging info\n");
#endif  /* missing endif ?? */

I normally compile without -DAIO_DEBUG but with the above #endif,
it seems to compile both with and without -DAIO_DEBUG.

Also I ran squeak with the -aiolog info to check and I get aio messages

...
   11541  101 aio.c:521 aioHandle(3, ***unknownHandler***, 3/AIO_RX)
   11740  199 aio.c:565 aioDisable(3)
   11742    2 aio.c:545 aioSuspend(3)

Regards,
David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJfgfCAAAoJEAwpOKXMq1MaKNEH/1lcrfOAqCWLODLOKkO3Nko2
1Mj3Pq1gZQFYh4HPBwlfPlJ4ZwgciXIcWL27jQtnW6uKA/PT1x4nVf21Ugne83/q
f4VEc789i1FyakGkrfsihvVmLyVEwPvR54zfn8oVvh+oD2rDlWAhizpi9PWL2g9V
aUOxfNcu2cMdMmollrUmh4Kv+tWT6MVLQ8NyX/m36wtpQ+SU9mXcXZy4uSfdVy3w
HFku8r4/dEZUOMhTHL4qBbP5tPXcZMka7LblE5M4DESZh49o0Hqt2B5dlSfMbr/R
JlS7RH1Rj0blnQfEQbv+x8noHJqYmTupON99dnoefSdi9SkHh82ql1DBgxLLkOM=
=Qhcw
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: missing #endif in sqUnixMain.c ?

Levente Uzonyi
 
Yes, I had to patch it after checkout as well (on linux).


Levente

On Sat, 10 Oct 2020, [hidden email] wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
> Hi,
>
> Platform:  Solaris 11.3 with SunPro C compiler 12.6.
>
> In order to compile the latest sources, I have to patch
>
> platforms/unix/vm/sqUnixMain.c
>
> #if defined(AIO_DEBUG)
>   printf("  "VMOPTION("aiolog")"               output async io logging info\n");
> #endif  /* missing endif ?? */
>
> I normally compile without -DAIO_DEBUG but with the above #endif,
> it seems to compile both with and without -DAIO_DEBUG.
>
> Also I ran squeak with the -aiolog info to check and I get aio messages
>
> ...
>   11541  101 aio.c:521 aioHandle(3, ***unknownHandler***, 3/AIO_RX)
>   11740  199 aio.c:565 aioDisable(3)
>   11742    2 aio.c:545 aioSuspend(3)
>
> Regards,
> David Stes
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJfgfCAAAoJEAwpOKXMq1MaKNEH/1lcrfOAqCWLODLOKkO3Nko2
> 1Mj3Pq1gZQFYh4HPBwlfPlJ4ZwgciXIcWL27jQtnW6uKA/PT1x4nVf21Ugne83/q
> f4VEc789i1FyakGkrfsihvVmLyVEwPvR54zfn8oVvh+oD2rDlWAhizpi9PWL2g9V
> aUOxfNcu2cMdMmollrUmh4Kv+tWT6MVLQ8NyX/m36wtpQ+SU9mXcXZy4uSfdVy3w
> HFku8r4/dEZUOMhTHL4qBbP5tPXcZMka7LblE5M4DESZh49o0Hqt2B5dlSfMbr/R
> JlS7RH1Rj0blnQfEQbv+x8noHJqYmTupON99dnoefSdi9SkHh82ql1DBgxLLkOM=
> =Qhcw
> -----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: missing #endif in sqUnixMain.c ?

stes
In reply to this post by stes
 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


It's compiling again after the fix yesterday.  Thanks ...

David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJfgxYuAAoJEAwpOKXMq1MaZ34H/Rr+H4xVwTNoOsxv/6oDgMk+
IUR7ozPjUC2L7euz9lZL8db337aNaHUP3rj6UeEEXgxAGvHKx0vGrqnbgS3sMsig
fGkT+QFwOEta7vN5DdC8rQRLQgvu1RHFfam5rBmEif1xCjh/zsAXlRAmlgtTr8/l
tqAlgKYTedM1nlE/nb7YC+FdIqC7by7stuNW9nRZ6nSdN0a/ImN9HI6xeRsBQJMN
VPnn4v+dFR1eR9I92SwX5rnee44FChURyGevPs2vIv3QVQ8FMHybEyD2JpO/EEPQ
9wHkn7J+lw+ozafhNmCH4lj19QxouDEYVLMBWJL/iFjT2iAxAJOOPDM5iR43zDU=
=ZTyB
-----END PGP SIGNATURE-----