🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #728

Microsoft C 6.0 Bug - HELP !!!!

#728
From: oleg
Date: Thu, 12 Jul 1990 20:17
21 lines
811 bytes
The following program causes internal error in the compiler:
Please help !!!!!!!!!!


#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 *));
}
Technical Details
Message-ID: <1990Jul12.201756.20703@arnor.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!bywater!arnor!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!bywater!arnor!news
From: oleg@ibm.com
Newsgroups: comp.os.os2
Subject: Microsoft C 6.0 Bug - HELP !!!!
Message-ID: <1990Jul12.201756.20703@arnor.uucp>
Date: 12 Jul 90 20:17:56 GMT
Sender: news@arnor.uucp (NNTP News Poster)
Organization: IBM T.J. Watson Research Center
Lines: 21