Monteverdi: potentially non portable use of "defined"
Theses lines:
- https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/blob/develop/Modules/Visualization/Monteverdi/include/mvdMainWindow.h#L31
- https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/blob/develop/Modules/Visualization/Monteverdi/src/mvdMainWindow.cxx#L112
- https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/blob/develop/Modules/Visualization/Monteverdi/src/main.cxx#L40
in Monteverdi throw warnings with gcc 7:
warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
But I don't understand... what does ( ( !defined( OTB_DEBUG ) && 0 ) || 0 )
mean ? Can I just replace it by 0
to fix the warning?