Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COOkay, I was importing the Audio class from the base class's header ... I just added a forward declaration instead and moved the import to the base class's implementation file. Is that what you would recommend? That seems to have solved it -- but it triggered a handful of different errors that are now popping up with the change in compilation language -- so I'll work on those now and then see if I can compile. The errors are now only in the base class, so I think I'm on the right track.
      singulars
    2. COThat's going into the right direction. But simply a forward declaration won't work, since that - again - is C++ code which the other files won't understand. So the only possibility that's left is having a pointer to your class that is of a type normal C will accept. If I remember correctly, I resolved this issue by creating some anonymous struct forward declaration and used that in the header: `struct MyClass * myClassPointer;`. Maybe that helps?
      singulars
    3. COActually, it worked fine to put a forward declaration in the base class's header, and import the Audio class's header in the base class's implementation file. I had to fix a few other errors that popped up due to the slightly different compilation rules of C++, but now everything is compiling and running. Would another alternative be to create a C wrapper class for the C++ class? I'll explore that later, but this is good for now. Thanks!
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload