waf/waflib
Mohammad Alsaleh 6de1ac07d5 c_config: Avoid warnings/errors when checking for C functions
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>
2015-09-13 22:45:32 +02:00
..
Tools c_config: Avoid warnings/errors when checking for C functions 2015-09-13 22:45:32 +02:00
extras Merge pull request #1619 from srouquette/boost 2015-09-02 02:30:29 +02:00
Build.py Prevent installation tasks having postpone=False from running twice 2015-07-07 20:58:58 +02:00
ConfigSet.py env = conf.env.derive().detach() 2015-07-02 20:52:41 +02:00
Configure.py loadFromSysPath -> with_sys_path 2015-08-28 22:43:38 +02:00
Context.py waf 1.8.13 2015-09-13 22:14:31 +02:00
Errors.py Initial commit 2011-09-10 11:13:51 +02:00
Logs.py Env variables WAF_LOG_FORMAT/WAF_HOUR_FORMAT for custom log formats 2015-08-30 13:02:17 +02:00
Node.py Optimizations 2015-03-08 18:30:57 +01:00
Options.py provide --no-lock-in-top and --no-lock-in-run for packagers 2015-05-02 17:13:00 +02:00
Runner.py Re-added Parallel.error_handler 2014-01-04 11:04:59 +01:00
Scripting.py Enable 'waf update' when use_config is provided - Issue 1541 2015-08-29 13:05:00 +02:00
Task.py docs 2015-05-03 10:22:28 +02:00
TaskGen.py Override rule function outputs - Issue 1598 2015-09-07 21:03:16 +02:00
Utils.py Issue 1552 - attempt to fix the installation path regression on 32-bit Ubuntu caused by Issue 1536 2015-04-03 21:24:46 +02:00
__init__.py Initial commit 2011-09-10 11:13:51 +02:00
ansiterm.py WriteConsole type - https://github.com/waf-project/waf/issues/1567 2015-05-05 07:33:47 +02:00
fixpy2.py First commit of the year 2015 2015-01-01 16:24:54 +01:00