To be more clear, the reason it can't be solved the same way is because we need to make different choices depending both on srcMatType and CV_SSE2. Iff both srcMatType is 8-bit and CV_SSE2 is defined we should use the SSE code. Otherwise, use the fallback. I'm not sure the best way to handle it such that there is no warning.