🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by oleg Thu, 12 Jul 1990 20:21
Microsoft C 6.0 Bug - Please HELP !!!!!!!
#1419
Author: oleg
Date: Thu, 12 Jul 1990 20:21
23 lines
823 bytes
The following program causes internal error Microsoft Compiler 6.0.
This does not happen with 5.1. What an improvement !




#define mtod(x,t)       ((t)((unsigned long)(x) + (unsigned long)((x)->m_off)))

struct mbuf {
        struct  mbuf far *m_next;
        unsigned long  m_off;
        short   m_len;
        short   m_type;
        unsigned char  m_dat[128];
        struct  mbuf far *m_act;
};

try()
{
   struct mbuf far *m;

   a(mtod(m, char far *));
}
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