[uClibc]C++ and uClibc

Fabio Parodi fabio.parodi at fredreggiane.com
Thu Aug 23 07:18:23 UTC 2001


Is there anyone with some experience with C++ and uClibc?
I'm trying to link some C++ code with uClibc but I get errors.
I don't want to use the C++ standard library - just write some plain C++
code.

For example, this block works fine:

   	class A {
	public:
		void hello();
	};
	void A::hello() { printf("hello\n"); }

But if I make A::hello() virtual, I get errors:

   	class A {
	public:
		virtual void hello();
	};
	void A::hello() { printf("hello\n"); }

Fabio






More information about the uClibc mailing list