On 2020-08-12 15:41, Paul Reeves wrote:
I'm working on a makefile to build the oo api examples.

Everything is fine, except for 05.user_metadata.cpp

Executing this:

   c++ -c -Wall -g3 -std=c++11 -fno-rtti -I/opt/firebird/include/ \
      05.user_metadata.cpp -o 05.user_metadata.o

produces this error:

05.user_metadata.cpp: In function ‘int main()’:
05.user_metadata.cpp:212:14: error: invalid new-expression of abstract class
type ‘MyMetadata’ meta = new MyMetadata;
               ^~~~~~~~~~

...................
Is this an error in the code or in my makefile?

That's an old example, code needs fixing. Will fix in a day or two.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to