🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by rjc Mon, 09 Nov 1992 20:38
gcc-2.3.1
#1332
Author: rjc
Date: Mon, 09 Nov 1992 20:38
42 lines
1566 bytes
Machine:       Sony NEWS 3860, running NEWSOS 5.0U
Configuration: configure mips-sony-sysv4
Problem:       mips-tdump.c fails to compile.  compiler complains about
               "index" not being a member of the SYMR structure.

My sol'n was to move the "#ifdef index" above the inclusion of "sym.h".
Here's the patch:

devo$ gdiff -c2 mips-tdump.c~ mips-tdump.c
*** mips-tdump.c~       Thu Oct 29 11:32:39 1992
--- mips-tdump.c        Sun Nov  8 22:47:05 1992
***************
*** 27,30 ****
--- 27,35 ----
  #include "config.h"

+ #ifdef index
+ #undef index
+ #undef rindex
+ #endif
+
  #ifndef CROSS_COMPILE
  #include <a.out.h>
***************
*** 60,68 ****
  #define uint  unsigned int
  #define ulong unsigned long
-
- #ifdef index
- #undef index
- #undef rindex
- #endif


--- 65,68 ----
devo$

--
Ronald Cole           +----------------------+  internet: rjc@unify.com
Software Engineer II  |    Lord/Genis '96    |  uucp:     uunet!unify!rjc
Unify Corporation     +----------------------+  voice:    +1 916 928 6238
          "THE BILL OF RIGHTS --- Void where prohibited by law"
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