mirror of https://gitlab.com/ita1024/waf.git
6de1ac07d5
The check for C functions fails with '-Werror' in GCC (5.2). return (int)p; ^ The cast here triggers this error: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] p=(void*)(%s); ^ This conversion triggers another error with '-pedantic -Werror': error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic] This patch fixes both errors. Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com> |
||
---|---|---|
.. | ||
Tools | ||
extras | ||
Build.py | ||
ConfigSet.py | ||
Configure.py | ||
Context.py | ||
Errors.py | ||
Logs.py | ||
Node.py | ||
Options.py | ||
Runner.py | ||
Scripting.py | ||
Task.py | ||
TaskGen.py | ||
Utils.py | ||
__init__.py | ||
ansiterm.py | ||
fixpy2.py |