Class extending base dont want to compile
Help me please. I cant understand why builder exiting with error. I have two classes. One is base class, that extend UObject. This class compiles fine and without any errors.
Another class is extending base class
Build scripts throws error
If i will remove interhitance from second object - all compiles fine. Can anyone tell me what this error means and where is error in base class?
After reviewing the files you sent, I noticed there was a circular dependence issue in your include statements. AMQPProducerConnection.h has an include for AMQPAbstractConnection.h - AMQPAbstractConnection.h has an include for AMQPConnectionFactory.h - and AMQPConnectionFactory.h has an include for AMQPProducerConnection.h.
I also noticed circular dependency between AMQPConsumerConnection including AMQPAbstractConnection , AMQPAbstractConnection including AMQPConnectionFactory , and AMQPConnectionFactory including AMQPConsumerConnection.
This is likely the reason for compile issues when you add the inheritance. The simplest solution would be to forward declare the class as necessary inside the child. This should allow you to use the functions from your "parent" class and still allow the code to compile.
answered Oct 17 '16 at 02:12 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here