swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] @class and @public


From: Paul Johnson
Subject: Re: [Swarm-Support] @class and @public
Date: Thu, 10 Feb 2005 08:21:25 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041127)

Hmm. I can't explain that one, but if funny things start to happen later, you know one place to look.

In A.h, do you have variables declared like this


B * aThing;


and in B.h, do you have

A * anotherThing;

My experience is that, if you do that, everything goes to hell.

But, then again, maybe something changed in the guts of the compiler. But I doubt it.

Derek Farren wrote:
Thanks Paul.

That open an other doubt... I am working with an application where header
A.h imports B.h, and B.h imports A.h. The application compiles without
problem. Why is that?

Derek


--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700


reply via email to

[Prev in Thread] Current Thread [Next in Thread]