extern "C" {
...
}Which means that this chunk of code isn't C++, it's C.The parameter list (void) is NOT equal to the empty parameter list in "C" declarations.
Which means this bugger's full of shit:
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_closed.html#18
