Warn unused resut as macro that can be deactivated by defines (Done for swig)