From: Ofer Corshid Newsgroups: comp.os.msdos.djgpp Subject: Assembler Message Date: Tue, 30 Dec 1997 08:44:28 -0800 Organization: The hebrew University of Jerusalem Lines: 36 Message-ID: <34A924EC.7101@cs.huji.ac.il> Reply-To: oferco AT cs DOT huji DOT ac DOT il NNTP-Posting-Host: dial-20-47.slip.huji.ac.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hye, Anyone who can, plaease answer this: I have a class A: class A { public: ... private: typedef short (A::*func)(); func arr[7]; short b(); ... }; which is in one of few files in linked in my makefile. when I run make I receive this message: c:/misc/djgpp/tmp\cccaaaaa:207 Error: Rest of line ignored first ignored character is ':'; The linking is OK when I change the typedef above with this: typedef short (*func)(); BUT, I MEED the first typedef because when I do this: arr[3] = b; I get this message: assignment to 'short int (*)()' from 'short int (A::*)()' WHAT SHOULD I DO ???? thanks, Ofer