Thread View: comp.sys.mac.oop.macapp3
1 messages
1 total messages
Started by Victor Consulting, Ken Victor,CS...
Thu, 19 Nov 1992 02:22
CStr31 Array Syntax???
Author: Victor Consulting, Ken Victor,CS...
Date: Thu, 19 Nov 1992 02:22
Date: Thu, 19 Nov 1992 02:22
31 lines
1612 bytes
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
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