delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/24/03:09:51

From: eggbrains AT aol DOT com (Egg brains)
Newsgroups: comp.os.msdos.djgpp
Subject: [Q] mucking about with the 'inline' statement
Date: 20 Aug 1997 22:49:03 GMT
Lines: 22
Message-ID: <19970820224901.SAA08059@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

i can't get the inline statement to work...

i have tried do every possible combination i can think of.  and i gives me
the messag "undefined refernce to (what i am calling)".  packing the code
in the prototype works, but even 1 or two lines start to garble the
header...

i have tried...

(sub in the header file with the prototype)
inline by the prototype
inline by the sub
inline by the sub & prototype

(and same thing with the source in a cpp file)

is there a combonation of something i missed ?


Paul.

thanx for helping...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019