Common compilation errors

From OTBWiki
Revision as of 10:55, 12 December 2008 by Julien (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page is intended to describe common compilation errors encountered by developers as well as their possible causes.

  • Constructor of class Foo is protected. : Foo instantiation is handled by smart pointers and you are trying to instantiate it without the object factory.

Consider replacing

Foo myFoo;


Foo::Pointer myFoo = Foo::New();