mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
build: w/a compiler warnings for GCC 11-12 and Clang 13, reduce build output
This commit is contained in:
@@ -686,7 +686,7 @@ class JavaWrapperGenerator(object):
|
||||
msg = "// Return type '%s' is not supported, skipping the function\n\n" % fi.ctype
|
||||
self.skipped_func_list.append(c_decl + "\n" + msg)
|
||||
j_code.write( " "*4 + msg )
|
||||
logging.warning("SKIP:" + c_decl.strip() + "\t due to RET type " + fi.ctype)
|
||||
logging.info("SKIP:" + c_decl.strip() + "\t due to RET type " + fi.ctype)
|
||||
return
|
||||
for a in fi.args:
|
||||
if a.ctype not in type_dict:
|
||||
@@ -698,7 +698,7 @@ class JavaWrapperGenerator(object):
|
||||
msg = "// Unknown type '%s' (%s), skipping the function\n\n" % (a.ctype, a.out or "I")
|
||||
self.skipped_func_list.append(c_decl + "\n" + msg)
|
||||
j_code.write( " "*4 + msg )
|
||||
logging.warning("SKIP:" + c_decl.strip() + "\t due to ARG type " + a.ctype + "/" + (a.out or "I"))
|
||||
logging.info("SKIP:" + c_decl.strip() + "\t due to ARG type " + a.ctype + "/" + (a.out or "I"))
|
||||
return
|
||||
|
||||
self.ported_func_list.append(c_decl)
|
||||
|
||||
Reference in New Issue
Block a user