expected unqualified-id before ';' token
Solved
3rd Party Software
-
Hi everybody,
one task in my current project is to use a special network library PF_RING. When the basic header pfring.h for this library is included an extremely persistent error appears:
expected unqualified-id before ';' token
The error points to the following variable declaration in the header file:
char *slots;
As far as I've come, this error happens on the reuse of a language key word. In Qt obviously slots. Is there any way, to tell Qt/moc/whatever to ignore the slots variable in the third party library? As I'm not able to change the variable as it is used inside the third party library.
Help is very much appreciated.
Sorut -
@Sorut See https://doc.qt.io/qt-5/signalsandslots.html
"Using Qt with 3rd Party Signals and Slots"