I created a derived mode (using define-derived-mode) based on c++-mode to include new keywords, etc.
The mode is working great, but I'm having problems with other minor modes that stop working with my derived mode.
For example, flycheck and company-mode, the first stops telling me when there is broken code in the buffer, and the second will not complete (it will always say No completion found).
If I load the c++-mode in the buffer, all these minor modes start working again.
So, my question is how can I make these modes see my derived mode as if it was c++-mode.