25 Oct
2004
25 Oct
'04
5:25 p.m.
Neil Santos wrote:
Two, Why does GPC spit out a warning when the arguments are classes (as opposed to pointers to classes)?
TRoot.eph:71: warning: object type declared as value parameter
Object assignments (of which value parameters are a special case) are generally not recommended, because they break polymorphy, object identity, etc. You might want to use reference or `const' parameters instead. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html NEW! GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8