This answer explains well as to why this problem occurs:
Xcode C++ :: Duplicate Symbols for Architecture x86_64
In my opinion you do not need to turn any of the flags off or change Xcode settings, re-read your code, and fix the problem. Changing the settings would just subside the inflammation not the cause.