meson/mesonbuild/compilers/mixins
Christoph Reiter c4fa0fac3d Fix has_function() for clang on 64bit Windows
has_function() tries to link an example program using the function
to see if it is available, but with clang on 64bit Windows this
example always already failed at the compile step:

error: cast from pointer to smaller type 'long' loses information
            long b = (long) a;

This is due to long!=pointer with LLP64

Change from "long" to "long long" which is min 64bit and should always
fit a pointer. While "long long" is strictly a C99 feature every
non super ancient compiler should still support it.
2020-05-13 08:16:54 +00:00
..
__init__.py compilers: Move clike into a mixins directory 2019-07-15 10:59:22 -07:00
arm.py Fix ARMCC dependency generation. 2020-03-23 17:13:10 +02:00
c2000.py -Add xc16 and c2000 C,Cpp toolchain support 2020-03-21 00:47:24 +02:00
ccrx.py -Fixed Renesas RX Family compiler to work with latest meson, updated cross-file, fixed assembly file use 2020-01-30 22:11:26 +02:00
clang.py compilers: Silence warning about gnu_inline with clang 2020-04-20 19:30:57 +03:00
clike.py Fix has_function() for clang on 64bit Windows 2020-05-13 08:16:54 +00:00
elbrus.py Fix Sider errors 2020-01-27 22:37:21 +03:00
emscripten.py compilers/linkers: Add a representation for wasm-ld 2020-02-27 16:35:02 -08:00
gnu.py compilers: Silence warning about gnu_inline with clang 2020-04-20 19:30:57 +03:00
intel.py types: import typing as T (fixes #6333) 2020-01-08 15:28:17 +01:00
islinker.py Fix legacy env var support with cross 2020-03-23 17:51:36 +02:00
pgi.py types: import typing as T (fixes #6333) 2020-01-08 15:28:17 +01:00
visualstudio.py compilers: Error if invalid linker selected 2020-03-17 10:40:39 -07:00
xc16.py -Add xc16 and c2000 C,Cpp toolchain support 2020-03-21 00:47:24 +02:00