🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by Jyrki Kuoppala Mon, 29 May 1989 06:38
USG diffs for libg++ 1.35.0
#523
Author: Jyrki Kuoppala
Date: Mon, 29 May 1989 06:38
25 lines
1287 bytes
In article <8905290305.AA24347@csusac.csus.edu>, csusac!cvms!ronald@UCDAVIS writes:
>Here are some patches to make libg++ 1.35.0 compile on under System V.

and goes on with the diffs:

>!   if (rep->len > 0)
>! #if defined(i386)
>!     memset(rep->s, 0, rep->sz * sizeof(short));
>! #else
>!     bzero(rep->s, rep->sz * sizeof(short));
>! #endif

This isn't the right way to do this, as i386 isn't the same thing as
USG.  There are systems using the i386 processor which run BSD (at
least Sequent) and many many systems running USG which are not
i386-based.

I don't know what #ifdefs should be used, since there doesn't seem to
be a standard USG define.  Maybe one should just force users to
explicitly specify USG in their Makefiles and use #ifdef USG in the
g++-include files ?  That doesn't seem a very good alternative.

Anyone got any ideas ?

//Jyrki
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads