Project

General

Profile

CMakeError.log

After downgrading lensfun - pass 712, 12/10/2018 06:48 PM

Download (19.7 KB)

 
1
Performing C++ SOURCE FILE Test CXX_COMPILER_UNDERSTANDS_-Wold-style-declaration failed with the following output:
2
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
3

    
4
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_a9a28/fast"
5
/usr/bin/make -f CMakeFiles/cmTC_a9a28.dir/build.make CMakeFiles/cmTC_a9a28.dir/build
6
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
7
Building CXX object CMakeFiles/cmTC_a9a28.dir/src.cxx.obj

8
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -DCXX_COMPILER_UNDERSTANDS_-Wold-style-declaration  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla   -Wold-style-declaration -o CMakeFiles/cmTC_a9a28.dir/src.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.cxx
9
cc1plus.exe: warning: command line option '-Wold-style-declaration' is valid for C/ObjC but not for C++
10
<command-line>: warning: ISO C++11 requires whitespace after the macro name
11
Linking CXX executable cmTC_a9a28.exe

12
/C/msys64/mingw64/bin/cmake.exe -E remove -f CMakeFiles/cmTC_a9a28.dir/objects.a
13
/C/msys64/mingw64/bin/ar.exe cr CMakeFiles/cmTC_a9a28.dir/objects.a "CMakeFiles/cmTC_a9a28.dir/src.cxx.obj" 
14
/C/msys64/mingw64/bin/g++.exe  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -DCXX_COMPILER_UNDERSTANDS_-Wold-style-declaration  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla    -Wl,--whole-archive CMakeFiles/cmTC_a9a28.dir/objects.a -Wl,--no-whole-archive  -o cmTC_a9a28.exe -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 
15
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
16

    
17
Source file was:
18
int main() { return 0; }
19
Performing C SOURCE FILE Test C_COMPILER_UNDERSTANDS_-Wthread-safety failed with the following output:
20
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
21

    
22
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_95dd1/fast"
23
/usr/bin/make -f CMakeFiles/cmTC_95dd1.dir/build.make CMakeFiles/cmTC_95dd1.dir/build
24
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
25
Building C object CMakeFiles/cmTC_95dd1.dir/src.c.obj

26
/C/msys64/mingw64/bin/gcc.exe   -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wold-style-declaration -DC_COMPILER_UNDERSTANDS_-Wthread-safety  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wold-style-declaration   -Wthread-safety -o CMakeFiles/cmTC_95dd1.dir/src.c.obj   -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.c
27
gcc.exe: error: unrecognized command line option '-Wthread-safety'; did you mean '-fthread-jumps'?
28
make[1]: *** [CMakeFiles/cmTC_95dd1.dir/build.make:66: CMakeFiles/cmTC_95dd1.dir/src.c.obj] Error 1
29
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
30
make: *** [Makefile:121: cmTC_95dd1/fast] Error 2
31

    
32
Source file was:
33
int main(void) { return 0; }
34
Performing C++ SOURCE FILE Test CXX_COMPILER_UNDERSTANDS_-Wthread-safety failed with the following output:
35
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
36

    
37
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_bbb74/fast"
38
/usr/bin/make -f CMakeFiles/cmTC_bbb74.dir/build.make CMakeFiles/cmTC_bbb74.dir/build
39
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
40
Building CXX object CMakeFiles/cmTC_bbb74.dir/src.cxx.obj

41
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -DCXX_COMPILER_UNDERSTANDS_-Wthread-safety  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla   -Wthread-safety -o CMakeFiles/cmTC_bbb74.dir/src.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.cxx
42
g++.exe: error: unrecognized command line option '-Wthread-safety'; did you mean '-fthread-jumps'?
43
make[1]: *** [CMakeFiles/cmTC_bbb74.dir/build.make:66: CMakeFiles/cmTC_bbb74.dir/src.cxx.obj] Error 1
44
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
45
make: *** [Makefile:121: cmTC_bbb74/fast] Error 2
46

    
47
Source file was:
48
int main() { return 0; }
49
Performing C SOURCE FILE Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member failed with the following output:
50
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
51

    
52
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_20eaf/fast"
53
/usr/bin/make -f CMakeFiles/cmTC_20eaf.dir/build.make CMakeFiles/cmTC_20eaf.dir/build
54
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
55
Building C object CMakeFiles/cmTC_20eaf.dir/src.c.obj

56
/C/msys64/mingw64/bin/gcc.exe   -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wold-style-declaration -Wno-error=varargs -Wno-format-truncation -DC_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wold-style-declaration -Wno-error=varargs -Wno-format-truncation   -Wno-error=address-of-packed-member -o CMakeFiles/cmTC_20eaf.dir/src.c.obj   -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.c
57
cc1.exe: error: -Werror=address-of-packed-member: no option -Waddress-of-packed-member
58
make[1]: *** [CMakeFiles/cmTC_20eaf.dir/build.make:66: CMakeFiles/cmTC_20eaf.dir/src.c.obj] Error 1
59
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
60
make: *** [Makefile:121: cmTC_20eaf/fast] Error 2
61

    
62
Source file was:
63
int main(void) { return 0; }
64
Performing C++ SOURCE FILE Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member failed with the following output:
65
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
66

    
67
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_5ff45/fast"
68
/usr/bin/make -f CMakeFiles/cmTC_5ff45.dir/build.make CMakeFiles/cmTC_5ff45.dir/build
69
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
70
Building CXX object CMakeFiles/cmTC_5ff45.dir/src.cxx.obj

71
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -DCXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation   -Wno-error=address-of-packed-member -o CMakeFiles/cmTC_5ff45.dir/src.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.cxx
72
cc1plus.exe: error: -Werror=address-of-packed-member: no option -Waddress-of-packed-member
73
make[1]: *** [CMakeFiles/cmTC_5ff45.dir/build.make:66: CMakeFiles/cmTC_5ff45.dir/src.cxx.obj] Error 1
74
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
75
make: *** [Makefile:121: cmTC_5ff45/fast] Error 2
76

    
77
Source file was:
78
int main() { return 0; }
79
Performing C++ SOURCE FILE Test RAWSPEED_HAVE_CXX_FLAG_WMISSING_PROTOTYPES failed with the following output:
80
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
81

    
82
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_9d3ff/fast"
83
/usr/bin/make -f CMakeFiles/cmTC_9d3ff.dir/build.make CMakeFiles/cmTC_9d3ff.dir/build
84
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
85
Building CXX object CMakeFiles/cmTC_9d3ff.dir/src.cxx.obj

86
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -DRAWSPEED_HAVE_CXX_FLAG_WMISSING_PROTOTYPES  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2   -Wmissing-prototypes -o CMakeFiles/cmTC_9d3ff.dir/src.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.cxx
87
cc1plus.exe: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
88
Linking CXX executable cmTC_9d3ff.exe

89
/C/msys64/mingw64/bin/cmake.exe -E remove -f CMakeFiles/cmTC_9d3ff.dir/objects.a
90
/C/msys64/mingw64/bin/ar.exe cr CMakeFiles/cmTC_9d3ff.dir/objects.a "CMakeFiles/cmTC_9d3ff.dir/src.cxx.obj" 
91
/C/msys64/mingw64/bin/g++.exe  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -DRAWSPEED_HAVE_CXX_FLAG_WMISSING_PROTOTYPES  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2    -Wl,--whole-archive CMakeFiles/cmTC_9d3ff.dir/objects.a -Wl,--no-whole-archive  -o cmTC_9d3ff.exe -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 
92
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
93

    
94
Source file was:
95
int main() { return 0; }
96
Performing C++ SOURCE FILE Test RAWSPEED_HAVE_CXX_FLAG_WOLD_STYLE_CASTS failed with the following output:
97
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
98

    
99
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_94cc3/fast"
100
/usr/bin/make -f CMakeFiles/cmTC_94cc3.dir/build.make CMakeFiles/cmTC_94cc3.dir/build
101
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
102
Building CXX object CMakeFiles/cmTC_94cc3.dir/src.cxx.obj

103
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -DRAWSPEED_HAVE_CXX_FLAG_WOLD_STYLE_CASTS  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2   -Wold-style-casts -o CMakeFiles/cmTC_94cc3.dir/src.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.cxx
104
g++.exe: error: unrecognized command line option '-Wold-style-casts'; did you mean '-Wold-style-cast'?
105
make[1]: *** [CMakeFiles/cmTC_94cc3.dir/build.make:66: CMakeFiles/cmTC_94cc3.dir/src.cxx.obj] Error 1
106
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
107
make: *** [Makefile:121: cmTC_94cc3/fast] Error 2
108

    
109
Source file was:
110
int main() { return 0; }
111
Performing C++ SOURCE FILE Test RAWSPEED_HAVE_CXX_FLAG_WSTRICT_PROTOTYPES failed with the following output:
112
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
113

    
114
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_12e07/fast"
115
/usr/bin/make -f CMakeFiles/cmTC_12e07.dir/build.make CMakeFiles/cmTC_12e07.dir/build
116
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
117
Building CXX object CMakeFiles/cmTC_12e07.dir/src.cxx.obj

118
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith -DRAWSPEED_HAVE_CXX_FLAG_WSTRICT_PROTOTYPES  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith   -Wstrict-prototypes -o CMakeFiles/cmTC_12e07.dir/src.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.cxx
119
cc1plus.exe: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
120
Linking CXX executable cmTC_12e07.exe

121
/C/msys64/mingw64/bin/cmake.exe -E remove -f CMakeFiles/cmTC_12e07.dir/objects.a
122
/C/msys64/mingw64/bin/ar.exe cr CMakeFiles/cmTC_12e07.dir/objects.a "CMakeFiles/cmTC_12e07.dir/src.cxx.obj" 
123
/C/msys64/mingw64/bin/g++.exe  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith -DRAWSPEED_HAVE_CXX_FLAG_WSTRICT_PROTOTYPES  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith    -Wl,--whole-archive CMakeFiles/cmTC_12e07.dir/objects.a -Wl,--no-whole-archive  -o cmTC_12e07.exe -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 
124
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
125

    
126
Source file was:
127
int main() { return 0; }
128
Performing C++ SOURCE FILE Test RAWSPEED_HAVE_CXX_FLAG_WTRADITIONAL failed with the following output:
129
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
130

    
131
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_19b32/fast"
132
/usr/bin/make -f CMakeFiles/cmTC_19b32.dir/build.make CMakeFiles/cmTC_19b32.dir/build
133
make[1]: Entering directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
134
Building CXX object CMakeFiles/cmTC_19b32.dir/src.cxx.obj

135
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith -DRAWSPEED_HAVE_CXX_FLAG_WTRADITIONAL  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith   -Wtraditional -o CMakeFiles/cmTC_19b32.dir/src.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/src.cxx
136
cc1plus.exe: warning: command line option '-Wtraditional' is valid for C/ObjC but not for C++
137
Linking CXX executable cmTC_19b32.exe

138
/C/msys64/mingw64/bin/cmake.exe -E remove -f CMakeFiles/cmTC_19b32.dir/objects.a
139
/C/msys64/mingw64/bin/ar.exe cr CMakeFiles/cmTC_19b32.dir/objects.a "CMakeFiles/cmTC_19b32.dir/src.cxx.obj" 
140
/C/msys64/mingw64/bin/g++.exe  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith -DRAWSPEED_HAVE_CXX_FLAG_WTRADITIONAL  -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith    -Wl,--whole-archive CMakeFiles/cmTC_19b32.dir/objects.a -Wl,--no-whole-archive  -o cmTC_19b32.exe -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 
141
make[1]: Leaving directory '/home/Juergen/darktable/build/CMakeFiles/CMakeTmp'
142

    
143
Source file was:
144
int main() { return 0; }
145
Determining if the posix_memalign exist failed with the following output:
146
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
147

    
148
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_02365/fast"
149
/usr/bin/make -f CMakeFiles/cmTC_02365.dir/build.make CMakeFiles/cmTC_02365.dir/build
150
make[1]: Verzeichnis ÔÇ×/home/Juergen/darktable/build/CMakeFiles/CMakeTmpÔÇ£ wird betreten
151
Building CXX object CMakeFiles/cmTC_02365.dir/CheckSymbolExists.cxx.obj

152
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith -Wvla -Wno-unused-parameter -Wno-format -Wstack-usage=4096 -Wframe-larger-than=4096 -Wlarger-than=32768    -o CMakeFiles/cmTC_02365.dir/CheckSymbolExists.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
153
C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)':
154
C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'posix_memalign' was not declared in this scope
155
   return ((int*)(&posix_memalign))[argc];
156
                   ^~~~~~~~~~~~~~
157
make[1]: *** [CMakeFiles/cmTC_02365.dir/build.make:66: CMakeFiles/cmTC_02365.dir/CheckSymbolExists.cxx.obj] Fehler 1
158
make[1]: Verzeichnis ÔÇ×/home/Juergen/darktable/build/CMakeFiles/CMakeTmpÔÇ£ wird verlassen
159
make: *** [Makefile:121: cmTC_02365/fast] Fehler 2
160

    
161
File C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
162
/* */
163
#include <cstdlib>
164

    
165
int main(int argc, char** argv)
166
{
167
  (void)argv;
168
#ifndef posix_memalign
169
  return ((int*)(&posix_memalign))[argc];
170
#else
171
  (void)argc;
172
  return 0;
173
#endif
174
}
175

    
176
Determining if the aligned_alloc exist failed with the following output:
177
Change Dir: C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp
178

    
179
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_28d2a/fast"
180
/usr/bin/make -f CMakeFiles/cmTC_28d2a.dir/build.make CMakeFiles/cmTC_28d2a.dir/build
181
make[1]: Verzeichnis ÔÇ×/home/Juergen/darktable/build/CMakeFiles/CMakeTmpÔÇ£ wird betreten
182
Building CXX object CMakeFiles/cmTC_28d2a.dir/CheckSymbolExists.cxx.obj

183
/C/msys64/mingw64/bin/g++.exe    -Wall -fno-strict-aliasing -Wno-format -Wshadow -Wtype-limits -Wvla -Wno-error=varargs -Wno-format-truncation -Wframe-larger-than=32768 -Wstack-usage=32768 -Wlarger-than=524288 -w -std=c++14 -Wall -Wextra -Wcast-qual -Wextra -Wextra-semi -Wformat=2 -Wpointer-arith -Wvla -Wno-unused-parameter -Wno-format -Wstack-usage=4096 -Wframe-larger-than=4096 -Wlarger-than=32768    -o CMakeFiles/cmTC_28d2a.dir/CheckSymbolExists.cxx.obj -c /C/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
184
C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)':
185
C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'aligned_alloc' was not declared in this scope
186
   return ((int*)(&aligned_alloc))[argc];
187
                   ^~~~~~~~~~~~~
188
C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: '_aligned_malloc'
189
   return ((int*)(&aligned_alloc))[argc];
190
                   ^~~~~~~~~~~~~
191
                   _aligned_malloc
192
make[1]: *** [CMakeFiles/cmTC_28d2a.dir/build.make:66: CMakeFiles/cmTC_28d2a.dir/CheckSymbolExists.cxx.obj] Fehler 1
193
make[1]: Verzeichnis ÔÇ×/home/Juergen/darktable/build/CMakeFiles/CMakeTmpÔÇ£ wird verlassen
194
make: *** [Makefile:121: cmTC_28d2a/fast] Fehler 2
195

    
196
File C:/msys64/home/Juergen/darktable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
197
/* */
198
#include <cstdlib>
199

    
200
int main(int argc, char** argv)
201
{
202
  (void)argv;
203
#ifndef aligned_alloc
204
  return ((int*)(&aligned_alloc))[argc];
205
#else
206
  (void)argc;
207
  return 0;
208
#endif
209
}
210