These interface-related link-libraries properties are used to determine the value of the other INTERFACE properties, so we were getting infinite recursion and segfaults otherwise.
21 lines
254 B
C++
21 lines
254 B
C++
|
|
#ifndef BOOL_PROP1
|
|
#error Expected BOOL_PROP1
|
|
#endif
|
|
|
|
#ifndef BOOL_PROP2
|
|
#error Expected BOOL_PROP2
|
|
#endif
|
|
|
|
#ifndef BOOL_PROP3
|
|
#error Expected BOOL_PROP3
|
|
#endif
|
|
|
|
#include "iface2.h"
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
Iface2 if2;
|
|
return if2.foo();
|
|
}
|