Message <Context> "<name>" has no linkage and has a prior declaration in this scope at <where>. Description A declaration within a function body redeclares an identifier declared earlier in the current scope, and both declarations did not have the extern storage class. User Action Either remove the extra declarations, or have all declarations for the identifier use the extern storage class.