Hello, has this happened to anyone? I have an old program that would compile under gcc 3.x. When I compiled it under gcc 4.x, but it stopped with a bunch 'was not declared in this scope' errors. The errors were members of a class declared in a header file shared by all compilation units. So, I simply placed an extern declaration for the member functions in the header file, which stopped the errors.
My question is, I thought all members not declared static were extern by default, so why do I need to declare it extern again?