Compromising your viewpoint, attitudes and behaviour will be ineffective when dealing with interpersonal conflict.
Compromising your viewpoint and opinions will never be an effective way to deal with this type of problems, because it will only lead you to act the way the other person wants you to. It will not convince you of why the other person believes this to be the right behaviour. It will most likely only make you feel unhappy, while increasing the chances that the problem will arise again in the future.
Compromising your viewpoints and behavior is bad generally: it will in the end only lead to frustration and will be a hindrance in achieving one's goals. There are many situations in which compromising the viewpoint is bad, and one of the is an interpersonal conflict: it might solve the problem in a short-term, but not in a long term.