c - error: "_structName" has already been declared in the current scope -
i running "already declared" compilation error when building program. know can caused including same header file twice. however, using ifndef preprocessor directive avoid such scenario. seems struct must declared in header file somewhere else in build path. there way figure out struct declared?
(in root of build path)
linux:
find . | xargs grep name_of_your_struct
windows (i not 100% on syntax, here, believe correct. try findstr /?
if doesn't work.)
findstr /s "name_of_your_struct"`
Comments
Post a Comment