🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #90

CStr31 Array Syntax???

#90
From: Victor Consulting, Ken Victor,CS...
Date: Thu, 19 Nov 1992 02:22
31 lines
1612 bytes
Could someone please tell me what i'm doing wrong.
 
i have the following definition in one of my header files:
 
class TAccountsDocument : public TFileBasedDocument {
       public:
          ...
        CStr31 fPeriodNames[knPNames]; // period names
       ...
 
this gives the following warning message:
 
Compiling:     UAccountsDocument.cp
warning: -d or -u option(s) will not affect code saved in dump file
File "UAccountsDocument.h"; line 55 # warning: can't take address of inline
                    function  CStr31::CStr31(),  CStr31::CStr31() not inlined
File "Data:Accounts:UAccountsDocument.cp"; line 220 # warning: out-of-line
                    copy of  CStr31::CStr31() created
 
line 55 in the header file is the closing brace (}) of the class definition.
line 220 of the .cp file is after the last statement.
 
i am trying to declare a class variable to be an array of CStr31s.  If I am
using the wrong syntax, could someone please tell me the right syntax.  if i am
using the right syntax, could someone give me an idea of where to look for what
i am doing wrong to generate these warning messages.
 
thanx,
Ken Victor
(415) 964-9870
 
Technical Details
Message-ID: <722150266.0608389@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!saimiri.primate.wisc.edu!sdd.hp.com!hplabs!nsc!voder!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!saimiri.primate.wisc.edu!sdd.hp.com!hplabs!nsc!voder!apple!applelink.apple.com
From: KVICTOR@AppleLink.Apple.COM (Victor Consulting, Ken Victor,CST)
Newsgroups: comp.sys.mac.oop.macapp3
Subject: CStr31 Array Syntax???
Message-ID: <722150266.0608389@AppleLink.Apple.COM>
Date: 19 Nov 92 02:22:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 31