Ted, I understand that there is a known problem when one of these warnings has a "continue" button, although the warnings that have a "save anyway" button do seem to work correctly.
Until the problem with "continue" is resolved, I recommend that you lie to the system - choose the wrong sex for the spouse to make the system happy, then after the profile is added, you can edit it to change the sex to the correct one.