- To: gcc-help@xxxxxxxxxxx
- Subject: Predeclarations of classes
- From: "Simon Lange" <s.lange@xxxxxxxxxx>
- Date: Fri, 13 Apr 2012 15:14:02 +0200
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- User-agent: Opera Mail/11.62 (Win32)
hallo list,
converting a project from VisualC++ to GCC (4.6.1) the following problem
occurs:
class A; //*
class B
{
public:
A* a;
};
brings at line " //* " the error-message:
"predeclaration of struct A"
it's a simple predeclaration ? any idea ??
thanks and best regards
Simon
--
Dr. Simon Lange
PARTEC GmbH
0341-9213491
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]