🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chris Smith Sat, 18 Nov 1989 12:52
VINDEX_MAX on machines with negative addresses
#597
Author: Chris Smith
Date: Sat, 18 Nov 1989 12:52
16 lines
1090 bytes
If you follow this advice from g++.texinfo

                            In GNU C++, there are two ways of doing this: if
   the assumption is made that the largest offset into a virtual function
   table will always be smaller than the first text address available to the
   user, then define the symbol `VTABLE_USES_MASK', and set
   `VINDEX_MAX' to the largest power of two less than or equal to that
   size. 

you get a ton of  VINDEX_MAX redefined  messages because of this line in 
cplus-tree.h:

   #define VINDEX_MAX ((unsigned)128)

Since the right value for VINDEX_MAX is machine-dependent, shouldn't
it be defined (when needed) in tm.h ?
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