opencv-swig icon indicating copy to clipboard operation
opencv-swig copied to clipboard

Changed #if ! preprocessor commands to ensure newest versions of gcc are able to recognize them

Open davidelahoz opened this issue 10 months ago • 0 comments

According to https://en.cppreference.com/w/c/preprocessor/conditional #if requires using define keyword to evaluate if a macro already exists. As this command was missing, gcc preprocessor was showing warnings mentioned in https://github.com/renatoGarcia/opencv-swig/issues/31

davidelahoz avatar Apr 26 '24 08:04 davidelahoz