Original Post
I am mixing C++ with an old program written in C. Everything is wrapped with extern "C" except I have one problem, I have a struct defined in C that is extern in another module. The C++ code compiles the struct different than the C. extern "C" { typedef struct foo ... extern foo myfoo; } I am porting this app to C++, hence I need to work with C for a while until I got it all up to C++. I heven't worked with C in so long I forgot the tricks involved.