You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/waflib/Tools
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>
10 years ago
..
__init__.py Initial commit 14 years ago
ar.py Tools: ar: support for ARFLAGS environment variable 12 years ago
asm.py Added defines for asm - #1442 12 years ago
bison.py Initial commit 14 years ago
c.py Inserting LDFLAGS at the end of the command-line causes less overhead than expected, and LINKFLAGS can still be used for flags in the beginning of the line 11 years ago
c_aliases.py Added fortran detection and warn when no link is possible - Issue 1603 and Issue 1610 10 years ago
c_config.py c_config: Avoid warnings/errors when checking for C functions 10 years ago
c_osx.py Glob mac_app resource trees - Issue 1586 10 years ago
c_preproc.py Cache the files read in c_dumbpreproc.py 11 years ago
c_tests.py Enabled errors on warnings for the apidoc generation 11 years ago
ccroot.py Change with shared library compatibility version handling 11 years ago
clang.py clang seems to provide llvm-ar 10 years ago
clangxx.py clang seems to provide llvm-ar 10 years ago
compiler_c.py Miscellaneous platform support 11 years ago
compiler_cxx.py Miscellaneous platform support 11 years ago
compiler_d.py Fix defining the xxx_compiler variables in configure(). 12 years ago
compiler_fc.py Fix defining the xxx_compiler variables in configure(). 12 years ago
cs.py treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 12 years ago
cxx.py Inserting LDFLAGS at the end of the command-line causes less overhead than expected, and LINKFLAGS can still be used for flags in the beginning of the line 11 years ago
d.py Do not prevent Logs.error/warn/debug from getting replaced 14 years ago
d_config.py Add output file patterns for D tasks on Darwin. 13 years ago
d_scan.py Initial commit 14 years ago
dbus.py Initial commit 14 years ago
dmd.py always use the convention that commands are lists, remove find_perl_program, add interpreter 12 years ago
errcheck.py docs 10 years ago
fc.py Repeated failures remove signatures - Issue 1580 11 years ago
fc_config.py Adding input to cmd_and_log/exec_command enables stdin=PIPE 10 years ago
fc_scan.py Issue 1389 fc scanner improvements 12 years ago
flex.py Tools: flex: env.FLEX is a list 12 years ago
g95.py always use the convention that commands are lists, remove find_perl_program, add interpreter 12 years ago
gas.py Use ASMPATH_ST for for assembler includes. 13 years ago
gcc.py Change with shared library compatibility version handling 11 years ago
gdc.py Issue 1348, gdc detection for gdc-msys 12 years ago
gfortran.py Use splitlines when possible 11 years ago
glib2.py glib2: Remove r_change_ext function 11 years ago
gnu_dirs.py Issue 1536 - default 64 suffix for Redhat systems 11 years ago
gxx.py Change with shared library compatibility version handling 11 years ago
icc.py Clean up some cruft in the compiler tools (icc, icpc, gxx) 12 years ago
icpc.py Clean up some cruft in the compiler tools (icc, icpc, gxx) 12 years ago
ifort.py Fixed logic to identify intel fortran compiler. 11 years ago
intltool.py Enabled errors on warnings for the apidoc generation 11 years ago
irixcc.py always use the convention that commands are lists, remove find_perl_program, add interpreter 12 years ago
javaw.py Enabled errors on warnings for the apidoc generation 11 years ago
kde4.py Use EnvironmentError more often 11 years ago
ldc2.py always use the convention that commands are lists, remove find_perl_program, add interpreter 12 years ago
lua.py Initial commit 14 years ago
msvc.py Merge pull request #1624 from shoover/consolidate-mobile-targets 10 years ago
nasm.py Issue 1379, nasm trailing slashes 12 years ago
perl.py Find xsubpp in order, privlib, vendorlib and path. 11 years ago
python.py generated .py files might need to be byte-compiled and installed 10 years ago
qt4.py Missing method in qt5.py 11 years ago
qt5.py qt5: cope with library names like 'Qt5Core' instead of 'QtCore5', as in Qt 5.4 on Windows 11 years ago
ruby.py Ruby 2.x detection - Issue 1613 10 years ago
suncc.py docs 10 years ago
suncxx.py docs 10 years ago
tex.py Use EnvironmentError more often 11 years ago
vala.py Fix the '--threading' option for valac. 11 years ago
waf_unit_test.py Issue 1319 - make unit test paths more configurable 11 years ago
winres.py Issue 1186 13 years ago
xlc.py Issue 1510 - suncc and CC 11 years ago
xlcxx.py Issue 1510 - suncc and CC 11 years ago