#ifdef CTHING #error "Wrong local argument set" #endif #ifndef CXXTHING #error "Local argument not set" #endif extern "C" int func(); int main(int argc, char **argv) { return func(); }