Advertisement
Guest User

Untitled

a guest
Aug 1st, 2017
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.19 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by Wine configure 2.12, which was
  5. generated by GNU Autoconf 2.69.185-b502e. Invocation command line was
  6.  
  7. $ /var/tmp/portage/app-emulation/wine-staging-2.12/work/wine-2.12/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/wine-staging-2.12 --htmldir=/usr/share/doc/wine-staging-2.12/html --prefix=/usr/lib/wine-staging-2.12 --datarootdir=/usr/share/wine-staging-2.12 --datadir=/usr/share/wine-staging-2.12 --docdir=/usr/share/doc/wine-staging-2.12 --includedir=/usr/include/wine-staging-2.12 --libdir=/usr/lib32/wine-staging-2.12 --libexecdir=/usr/libexec/wine-staging-2.12 --localstatedir=/var/wine-staging-2.12 --mandir=/usr/share/wine-staging-2.12/man --sysconfdir=/etc/wine --with-alsa --without-capi --with-cms --with-cups --with-curses --with-dbus --with-fontconfig --with-gnutls --enable-mshtml --without-gphoto --without-gsm --without-gstreamer --without-hal --with-jpeg --with-ldap --enable-mscoree --with-mpg123 --without-netapi --with-gettext --with-openal --without-opencl --with-opengl --without-osmesa --without-oss --without-pcap --with-png --with-pulse --with-pthread --without-sane --disable-tests --with-freetype --with-udev --with-v4l --with-x --with-xcomposite --with-xinerama --with-xml --with-xslt --with-xattr --without-gtk3 --with-va --disable-win64
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = misa-nb
  14. uname -m = x86_64
  15. uname -r = 4.10.5-Fly
  16. uname -s = Linux
  17. uname -v = #1 SMP Thu Mar 23 13:02:41 CET 2017
  18.  
  19. /usr/bin/uname -p = Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /usr/lib/portage/python2.7/ebuild-helpers/xattr/
  31. PATH: /usr/lib/portage/python2.7/ebuild-helpers/
  32. PATH: /usr/local/sbin/
  33. PATH: /usr/local/bin/
  34. PATH: /usr/sbin/
  35. PATH: /usr/bin/
  36. PATH: /sbin/
  37. PATH: /bin/
  38. PATH: /opt/bin/
  39. PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/
  40.  
  41.  
  42. ## ----------- ##
  43. ## Core tests. ##
  44. ## ----------- ##
  45.  
  46. configure:3776: checking build system type
  47. configure:3791: result: i686-pc-linux-gnu
  48. configure:3811: checking host system type
  49. configure:3825: result: i686-pc-linux-gnu
  50. configure:3855: checking whether make sets $(MAKE)
  51. configure:3878: result: yes
  52. configure:3895: checking for i686-pc-linux-gnu-gcc
  53. configure:3927: result: x86_64-pc-linux-gnu-gcc -m32
  54. configure:4325: checking for C compiler version
  55. configure:4334: x86_64-pc-linux-gnu-gcc -m32 --version >&5
  56. x86_64-pc-linux-gnu-gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
  57. Copyright (C) 2015 Free Software Foundation, Inc.
  58. This is free software; see the source for copying conditions. There is NO
  59. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  60.  
  61. configure:4345: $? = 0
  62. configure:4334: x86_64-pc-linux-gnu-gcc -m32 -v >&5
  63. Using built-in specs.
  64. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-gcc
  65. COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper
  66. Target: x86_64-pc-linux-gnu
  67. Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0-r3 p1.3, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer
  68. Thread model: posix
  69. gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
  70. configure:4345: $? = 0
  71. configure:4334: x86_64-pc-linux-gnu-gcc -m32 -V >&5
  72. x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
  73. x86_64-pc-linux-gnu-gcc: fatal error: no input files
  74. compilation terminated.
  75. configure:4345: $? = 1
  76. configure:4334: x86_64-pc-linux-gnu-gcc -m32 -qversion >&5
  77. x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
  78. x86_64-pc-linux-gnu-gcc: fatal error: no input files
  79. compilation terminated.
  80. configure:4345: $? = 1
  81. configure:4334: x86_64-pc-linux-gnu-gcc -m32 -version >&5
  82. x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-version'
  83. x86_64-pc-linux-gnu-gcc: fatal error: no input files
  84. compilation terminated.
  85. configure:4345: $? = 1
  86. configure:4365: checking whether the C compiler works
  87. configure:4387: x86_64-pc-linux-gnu-gcc -m32 -march=core-avx2 -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
  88. configure:4391: $? = 0
  89. configure:4441: result: yes
  90. configure:4444: checking for C compiler default output file name
  91. configure:4446: result: a.out
  92. configure:4452: checking for suffix of executables
  93. configure:4459: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=core-avx2 -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
  94. configure:4463: $? = 0
  95. configure:4486: result:
  96. configure:4508: checking whether we are cross compiling
  97. configure:4518: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=core-avx2 -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
  98. configure:4522: $? = 0
  99. configure:4529: ./conftest
  100. configure:4533: $? = 0
  101. configure:4548: result: no
  102. configure:4553: checking for suffix of object files
  103. configure:4576: x86_64-pc-linux-gnu-gcc -m32 -c -march=core-avx2 -O2 -pipe conftest.c >&5
  104. configure:4580: $? = 0
  105. configure:4602: result: o
  106. configure:4606: checking whether the compiler supports GNU C
  107. configure:4626: x86_64-pc-linux-gnu-gcc -m32 -c -march=core-avx2 -O2 -pipe conftest.c >&5
  108. configure:4626: $? = 0
  109. configure:4636: result: yes
  110. configure:4645: checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g
  111. configure:4666: x86_64-pc-linux-gnu-gcc -m32 -c -g conftest.c >&5
  112. configure:4666: $? = 0
  113. configure:4710: result: yes
  114. configure:4727: checking for x86_64-pc-linux-gnu-gcc -m32 option to enable C11 features
  115. configure:4931: x86_64-pc-linux-gnu-gcc -m32 -c -march=core-avx2 -O2 -pipe conftest.c >&5
  116. configure:4931: $? = 0
  117. configure:4946: result: none needed
  118. configure:5376: checking for C++ compiler version
  119. configure:5385: x86_64-pc-linux-gnu-g++ -m32 --version >&5
  120. x86_64-pc-linux-gnu-g++ (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
  121. Copyright (C) 2015 Free Software Foundation, Inc.
  122. This is free software; see the source for copying conditions. There is NO
  123. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  124.  
  125. configure:5396: $? = 0
  126. configure:5385: x86_64-pc-linux-gnu-g++ -m32 -v >&5
  127. Using built-in specs.
  128. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++
  129. COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper
  130. Target: x86_64-pc-linux-gnu
  131. Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0-r3 p1.3, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer
  132. Thread model: posix
  133. gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
  134. configure:5396: $? = 0
  135. configure:5385: x86_64-pc-linux-gnu-g++ -m32 -V >&5
  136. x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-V'
  137. x86_64-pc-linux-gnu-g++: fatal error: no input files
  138. compilation terminated.
  139. configure:5396: $? = 1
  140. configure:5385: x86_64-pc-linux-gnu-g++ -m32 -qversion >&5
  141. x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-qversion'
  142. x86_64-pc-linux-gnu-g++: fatal error: no input files
  143. compilation terminated.
  144. configure:5396: $? = 1
  145. configure:5400: checking whether the compiler supports GNU C++
  146. configure:5420: x86_64-pc-linux-gnu-g++ -m32 -c -march=core-avx2 -O2 -pipe conftest.cpp >&5
  147. configure:5420: $? = 0
  148. configure:5430: result: yes
  149. configure:5439: checking whether x86_64-pc-linux-gnu-g++ -m32 accepts -g
  150. configure:5460: x86_64-pc-linux-gnu-g++ -m32 -c -g conftest.cpp >&5
  151. configure:5460: $? = 0
  152. configure:5504: result: yes
  153. configure:5521: checking for x86_64-pc-linux-gnu-g++ -m32 option to enable C++11 features
  154. configure:5758: x86_64-pc-linux-gnu-g++ -m32 -c -march=core-avx2 -O2 -pipe conftest.cpp >&5
  155. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/tuple:35:0,
  156. from conftest.cpp:13:
  157. /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
  158. #error This file requires compiler and library support \
  159. ^
  160. conftest.cpp:20:16: error: 'shared_ptr' in namespace 'std' does not name a template type
  161. typedef std::shared_ptr<std::string> sptr;
  162. ^
  163. conftest.cpp:21:16: error: 'weak_ptr' in namespace 'std' does not name a template type
  164. typedef std::weak_ptr<std::string> wptr;
  165. ^
  166. conftest.cpp:23:16: error: 'tuple' in namespace 'std' does not name a template type
  167. typedef std::tuple<std::string,int,double> tp;
  168. ^
  169. conftest.cpp:24:16: error: 'array' in namespace 'std' does not name a template type
  170. typedef std::array<int, 20> int_array;
  171. ^
  172. conftest.cpp:26:3: error: 'constexpr' does not name a type
  173. constexpr int get_val() { return 20; }
  174. ^
  175. conftest.cpp:26:3: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11
  176. conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
  177. conftest.cpp:37:30: warning: delegating constructors only available with -std=c++11 or -std=gnu++11
  178. delegate(): delegate(2354) {}
  179. ^
  180. conftest.cpp: At global scope:
  181. conftest.cpp:47:24: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
  182. virtual int getval() override final { return this->n * 2; }
  183. ^
  184. conftest.cpp:47:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
  185. virtual int getval() override final { return this->n * 2; }
  186. ^
  187. conftest.cpp:53:16: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  188. nocopy() = default;
  189. ^
  190. conftest.cpp:54:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  191. nocopy(const nocopy&) = delete;
  192. ^
  193. conftest.cpp:55:41: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  194. nocopy & operator=(const nocopy&) = delete;
  195. ^
  196. conftest.cpp: In function 'int main()':
  197. conftest.cpp:104:13: error: 'i' does not name a type
  198. for (auto i = d.begin(); i != d.end(); ++i) { total += *i; }
  199. ^
  200. conftest.cpp:104:28: error: expected ';' before 'i'
  201. for (auto i = d.begin(); i != d.end(); ++i) { total += *i; }
  202. ^
  203. conftest.cpp:104:28: error: 'i' was not declared in this scope
  204. conftest.cpp:106:8: error: 'a1' does not name a type
  205. auto a1 = 6538;
  206. ^
  207. conftest.cpp:107:8: error: 'a2' does not name a type
  208. auto a2 = 48573953.4;
  209. ^
  210. conftest.cpp:108:8: error: 'a3' does not name a type
  211. auto a3 = "String literal";
  212. ^
  213. conftest.cpp:110:12: error: 'a2' was not declared in this scope
  214. decltype(a2) a4 = 34895.034;
  215. ^
  216. conftest.cpp:110:14: error: 'decltype' was not declared in this scope
  217. decltype(a2) a4 = 34895.034;
  218. ^
  219. conftest.cpp:114:12: error: 'get_val' is not a member of 'cxx11test'
  220. short sa[cxx11test::get_val()] = { 0 };
  221. ^
  222. conftest.cpp:122:3: error: 'int_array' is not a member of 'cxx11test'
  223. cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
  224. ^
  225. conftest.cpp:123:17: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11
  226. for (int &x : array) { x += 23; }
  227. ^
  228. conftest.cpp:123:17: error: 'array' was not declared in this scope
  229. conftest.cpp:124:74: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
  230. std::for_each(array.begin(), array.end(), [](int v1){ std::cout << v1; });
  231. ^
  232. conftest.cpp:127:20: error: 'cxx11test::sptr' has not been declared
  233. using cxx11test::sptr;
  234. ^
  235. conftest.cpp:128:20: error: 'cxx11test::wptr' has not been declared
  236. using cxx11test::wptr;
  237. ^
  238. conftest.cpp:130:3: error: 'sptr' was not declared in this scope
  239. sptr sp(new std::string("ASCII string"));
  240. ^
  241. conftest.cpp:131:3: error: 'wptr' was not declared in this scope
  242. wptr wp(sp);
  243. ^
  244. conftest.cpp:132:8: error: expected ';' before 'sp2'
  245. sptr sp2(wp);
  246. ^
  247. conftest.cpp:135:3: error: 'tp' is not a member of 'cxx11test'
  248. cxx11test::tp tuple("test", 54, 45.53434);
  249. ^
  250. conftest.cpp:136:14: error: 'get' is not a member of 'std'
  251. double d = std::get<2>(tuple);
  252. ^
  253. conftest.cpp:136:26: error: 'tuple' was not declared in this scope
  254. double d = std::get<2>(tuple);
  255. ^
  256. conftest.cpp:139:3: error: 'tie' is not a member of 'std'
  257. std::tie(s,i,d) = tuple;
  258. ^
  259. conftest.cpp:142:15: error: 'regex' in namespace 'std' does not name a type
  260. static std::regex filename_regex("^_?([a-z0-9_.]+-)+[a-z0-9]+$");
  261. ^
  262. conftest.cpp:144:16: error: 'regex_search' is not a member of 'std'
  263. bool match = std::regex_search(testmatch, filename_regex);
  264. ^
  265. conftest.cpp:144:45: error: 'filename_regex' was not declared in this scope
  266. bool match = std::regex_search(testmatch, filename_regex);
  267. ^
  268. conftest.cpp:147:3: error: 'int_array' is not a member of 'cxx11test'
  269. cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
  270. ^
  271. conftest.cpp:148:14: error: 'cxx11test::int_array' has not been declared
  272. cxx11test::int_array::size_type size = array.size();
  273. ^
  274. conftest.cpp:162:13: error: 'nullptr' was not declared in this scope
  275. char *c = nullptr;
  276. ^
  277. conftest.cpp:166:34: error: '>>' should be '> >' within a nested template argument list
  278. std::vector<std::pair<int,char*>> v1;
  279. ^
  280. conftest.cpp:170:22: error: 'u8' was not declared in this scope
  281. char const *utf8 = u8"UTF-8 string \u2500";
  282. ^
  283. conftest.cpp:171:3: error: 'char16_t' was not declared in this scope
  284. char16_t const *utf16 = u"UTF-8 string \u2500";
  285. ^
  286. conftest.cpp:172:3: error: 'char32_t' was not declared in this scope
  287. char32_t const *utf32 = U"UTF-32 string \u2500";
  288. ^
  289. configure:5758: $? = 1
  290. configure: failed program was:
  291. | /* confdefs.h */
  292. | #define PACKAGE_NAME "Wine"
  293. | #define PACKAGE_TARNAME "wine"
  294. | #define PACKAGE_VERSION "2.12"
  295. | #define PACKAGE_STRING "Wine 2.12"
  296. | #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
  297. | #define PACKAGE_URL "http://www.winehq.org"
  298. | /* end confdefs.h. */
  299. |
  300. | #include <deque>
  301. | #include <functional>
  302. | #include <memory>
  303. | #include <tuple>
  304. | #include <array>
  305. | #include <regex>
  306. | #include <iostream>
  307. |
  308. | namespace cxx11test
  309. | {
  310. | typedef std::shared_ptr<std::string> sptr;
  311. | typedef std::weak_ptr<std::string> wptr;
  312. |
  313. | typedef std::tuple<std::string,int,double> tp;
  314. | typedef std::array<int, 20> int_array;
  315. |
  316. | constexpr int get_val() { return 20; }
  317. |
  318. | struct testinit
  319. | {
  320. | int i;
  321. | double d;
  322. | };
  323. |
  324. | class delegate {
  325. | public:
  326. | delegate(int n) : n(n) {}
  327. | delegate(): delegate(2354) {}
  328. |
  329. | virtual int getval() { return this->n; };
  330. | protected:
  331. | int n;
  332. | };
  333. |
  334. | class overridden : public delegate {
  335. | public:
  336. | overridden(int n): delegate(n) {}
  337. | virtual int getval() override final { return this->n * 2; }
  338. | };
  339. |
  340. | class nocopy {
  341. | public:
  342. | nocopy(int i): i(i) {}
  343. | nocopy() = default;
  344. | nocopy(const nocopy&) = delete;
  345. | nocopy & operator=(const nocopy&) = delete;
  346. | private:
  347. | int i;
  348. | };
  349. | }
  350. |
  351. |
  352. | #include <algorithm>
  353. | #include <cstdlib>
  354. | #include <fstream>
  355. | #include <iomanip>
  356. | #include <iostream>
  357. | #include <list>
  358. | #include <map>
  359. | #include <set>
  360. | #include <sstream>
  361. | #include <stdexcept>
  362. | #include <string>
  363. | #include <utility>
  364. | #include <vector>
  365. |
  366. | namespace test {
  367. | typedef std::vector<std::string> string_vec;
  368. | typedef std::pair<int,bool> map_value;
  369. | typedef std::map<std::string,map_value> map_type;
  370. | typedef std::set<int> set_type;
  371. |
  372. | template<typename T>
  373. | class printer {
  374. | public:
  375. | printer(std::ostringstream& os): os(os) {}
  376. | void operator() (T elem) { os << elem << std::endl; }
  377. | private:
  378. | std::ostringstream& os;
  379. | };
  380. | }
  381. |
  382. | int
  383. | main (void)
  384. | {
  385. |
  386. | {
  387. | // Test auto and decltype
  388. | std::deque<int> d;
  389. | d.push_front(43);
  390. | d.push_front(484);
  391. | d.push_front(3);
  392. | d.push_front(844);
  393. | int total = 0;
  394. | for (auto i = d.begin(); i != d.end(); ++i) { total += *i; }
  395. |
  396. | auto a1 = 6538;
  397. | auto a2 = 48573953.4;
  398. | auto a3 = "String literal";
  399. |
  400. | decltype(a2) a4 = 34895.034;
  401. | }
  402. | {
  403. | // Test constexpr
  404. | short sa[cxx11test::get_val()] = { 0 };
  405. | }
  406. | {
  407. | // Test initializer lists
  408. | cxx11test::testinit il = { 4323, 435234.23544 };
  409. | }
  410. | {
  411. | // Test range-based for and lambda
  412. | cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
  413. | for (int &x : array) { x += 23; }
  414. | std::for_each(array.begin(), array.end(), [](int v1){ std::cout << v1; });
  415. | }
  416. | {
  417. | using cxx11test::sptr;
  418. | using cxx11test::wptr;
  419. |
  420. | sptr sp(new std::string("ASCII string"));
  421. | wptr wp(sp);
  422. | sptr sp2(wp);
  423. | }
  424. | {
  425. | cxx11test::tp tuple("test", 54, 45.53434);
  426. | double d = std::get<2>(tuple);
  427. | std::string s;
  428. | int i;
  429. | std::tie(s,i,d) = tuple;
  430. | }
  431. | {
  432. | static std::regex filename_regex("^_?([a-z0-9_.]+-)+[a-z0-9]+$");
  433. | std::string testmatch("Test if this string matches");
  434. | bool match = std::regex_search(testmatch, filename_regex);
  435. | }
  436. | {
  437. | cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
  438. | cxx11test::int_array::size_type size = array.size();
  439. | }
  440. | {
  441. | // Test constructor delegation
  442. | cxx11test::delegate d1;
  443. | cxx11test::delegate d2();
  444. | cxx11test::delegate d3(45);
  445. | }
  446. | {
  447. | // Test override and final
  448. | cxx11test::overridden o1(55464);
  449. | }
  450. | {
  451. | // Test nullptr
  452. | char *c = nullptr;
  453. | }
  454. | {
  455. | // Test template brackets
  456. | std::vector<std::pair<int,char*>> v1;
  457. | }
  458. | {
  459. | // Unicode literals
  460. | char const *utf8 = u8"UTF-8 string \u2500";
  461. | char16_t const *utf16 = u"UTF-8 string \u2500";
  462. | char32_t const *utf32 = U"UTF-32 string \u2500";
  463. | }
  464. |
  465. |
  466. |
  467. | try {
  468. | // Basic string.
  469. | std::string teststr("ASCII text");
  470. | teststr += " string";
  471. |
  472. | // Simple vector.
  473. | test::string_vec testvec;
  474. | testvec.push_back(teststr);
  475. | testvec.push_back("foo");
  476. | testvec.push_back("bar");
  477. | if (testvec.size() != 3) {
  478. | throw std::runtime_error("vector size is not 1");
  479. | }
  480. |
  481. | // Dump vector into stringstream and obtain string.
  482. | std::ostringstream os;
  483. | for (test::string_vec::const_iterator i = testvec.begin();
  484. | i != testvec.end(); ++i) {
  485. | if (i + 1 != testvec.end()) {
  486. | os << teststr << '\n';
  487. | }
  488. | }
  489. | // Check algorithms work.
  490. | std::for_each(testvec.begin(), testvec.end(), test::printer<std::string>(os));
  491. | std::string os_out = os.str();
  492. |
  493. | // Test pair and map.
  494. | test::map_type testmap;
  495. | testmap.insert(std::make_pair(std::string("key"),
  496. | std::make_pair(53,false)));
  497. |
  498. | // Test set.
  499. | int values[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
  500. | test::set_type testset(values, values + sizeof(values)/sizeof(values[0]));
  501. | std::list<int> testlist(testset.begin(), testset.end());
  502. | std::copy(testset.begin(), testset.end(), std::back_inserter(testlist));
  503. | } catch (const std::exception& e) {
  504. | std::cerr << "Caught exception: " << e.what() << std::endl;
  505. |
  506. | // Test fstream
  507. | std::ofstream of("test.txt");
  508. | of << "Test ASCII text\n" << std::flush;
  509. | of << "N= " << std::hex << std::setw(8) << std::left << 534 << std::endl;
  510. | of.close();
  511. | }
  512. | std::exit(0);
  513. |
  514. | ;
  515. | return 0;
  516. | }
  517. configure:5758: x86_64-pc-linux-gnu-g++ -m32 -std=gnu++11 -c -march=core-avx2 -O2 -pipe conftest.cpp >&5
  518. configure:5758: $? = 0
  519. configure:5781: result: -std=gnu++11
  520. configure:5951: checking for i686-pc-linux-gnu-cpp
  521. configure:5986: result: no
  522. configure:5996: checking for cpp
  523. configure:6017: found /usr/bin/cpp
  524. configure:6028: result: cpp
  525. configure:6056: checking for i686-pc-linux-gnu-ld
  526. configure:6088: result: x86_64-pc-linux-gnu-ld -m elf_i386
  527. configure:6306: checking for the directory containing the Wine tools
  528. configure:6335: result: $(top_builddir)
  529. configure:6349: checking for flex
  530. configure:6370: found /usr/bin/flex
  531. configure:6381: result: flex
  532. configure:6397: checking whether flex is recent enough
  533. configure:6407: result: yes
  534. configure:6419: checking for bison
  535. configure:6440: found /usr/bin/bison
  536. configure:6451: result: bison
  537. configure:6473: checking for i686-pc-linux-gnu-ar
  538. configure:6505: result: ar
  539. configure:6581: checking for i686-pc-linux-gnu-strip
  540. configure:6616: result: no
  541. configure:6626: checking for strip
  542. configure:6647: found /usr/bin/strip
  543. configure:6658: result: strip
  544. configure:6685: checking for i686-pc-linux-gnu-ranlib
  545. configure:6717: result: ranlib
  546. configure:6784: checking whether ln -s works
  547. configure:6788: result: yes
  548. configure:6795: checking for grep that handles long lines and -e
  549. configure:6859: result: /bin/grep
  550. configure:6864: checking for egrep
  551. configure:6932: result: /bin/grep -E
  552. configure:6939: checking for ldconfig
  553. configure:6975: result: /bin/true
  554. configure:6987: checking for msgfmt
  555. configure:7008: found /usr/bin/msgfmt
  556. configure:7019: result: msgfmt
  557.  
  558. ## ---------------- ##
  559. ## Cache variables. ##
  560. ## ---------------- ##
  561.  
  562. ac_cv_build=i686-pc-linux-gnu
  563. ac_cv_c_compiler_gnu=yes
  564. ac_cv_cxx_compiler_gnu=yes
  565. ac_cv_env_CAPI20_CFLAGS_set=
  566. ac_cv_env_CAPI20_CFLAGS_value=
  567. ac_cv_env_CAPI20_LIBS_set=
  568. ac_cv_env_CAPI20_LIBS_value=
  569. ac_cv_env_CCC_set=
  570. ac_cv_env_CCC_value=
  571. ac_cv_env_CC_set=set
  572. ac_cv_env_CC_value='x86_64-pc-linux-gnu-gcc -m32'
  573. ac_cv_env_CFLAGS_set=set
  574. ac_cv_env_CFLAGS_value='-march=core-avx2 -O2 -pipe'
  575. ac_cv_env_CPPFLAGS_set=set
  576. ac_cv_env_CPPFLAGS_value=
  577. ac_cv_env_CPP_set=
  578. ac_cv_env_CPP_value=
  579. ac_cv_env_CXXFLAGS_set=set
  580. ac_cv_env_CXXFLAGS_value='-march=core-avx2 -O2 -pipe'
  581. ac_cv_env_CXX_set=set
  582. ac_cv_env_CXX_value='x86_64-pc-linux-gnu-g++ -m32'
  583. ac_cv_env_DBUS_CFLAGS_set=
  584. ac_cv_env_DBUS_CFLAGS_value=
  585. ac_cv_env_DBUS_LIBS_set=
  586. ac_cv_env_DBUS_LIBS_value=
  587. ac_cv_env_FONTCONFIG_CFLAGS_set=
  588. ac_cv_env_FONTCONFIG_CFLAGS_value=
  589. ac_cv_env_FONTCONFIG_LIBS_set=
  590. ac_cv_env_FONTCONFIG_LIBS_value=
  591. ac_cv_env_FREETYPE_CFLAGS_set=
  592. ac_cv_env_FREETYPE_CFLAGS_value=
  593. ac_cv_env_FREETYPE_LIBS_set=
  594. ac_cv_env_FREETYPE_LIBS_value=
  595. ac_cv_env_GNUTLS_CFLAGS_set=
  596. ac_cv_env_GNUTLS_CFLAGS_value=
  597. ac_cv_env_GNUTLS_LIBS_set=
  598. ac_cv_env_GNUTLS_LIBS_value=
  599. ac_cv_env_GPHOTO2_CFLAGS_set=
  600. ac_cv_env_GPHOTO2_CFLAGS_value=
  601. ac_cv_env_GPHOTO2_LIBS_set=
  602. ac_cv_env_GPHOTO2_LIBS_value=
  603. ac_cv_env_GPHOTO2_PORT_CFLAGS_set=
  604. ac_cv_env_GPHOTO2_PORT_CFLAGS_value=
  605. ac_cv_env_GPHOTO2_PORT_LIBS_set=
  606. ac_cv_env_GPHOTO2_PORT_LIBS_value=
  607. ac_cv_env_GSTREAMER_CFLAGS_set=
  608. ac_cv_env_GSTREAMER_CFLAGS_value=
  609. ac_cv_env_GSTREAMER_LIBS_set=
  610. ac_cv_env_GSTREAMER_LIBS_value=
  611. ac_cv_env_GTK3_CFLAGS_set=
  612. ac_cv_env_GTK3_CFLAGS_value=
  613. ac_cv_env_HAL_CFLAGS_set=
  614. ac_cv_env_HAL_CFLAGS_value=
  615. ac_cv_env_HAL_LIBS_set=
  616. ac_cv_env_HAL_LIBS_value=
  617. ac_cv_env_JPEG_CFLAGS_set=
  618. ac_cv_env_JPEG_CFLAGS_value=
  619. ac_cv_env_JPEG_LIBS_set=
  620. ac_cv_env_JPEG_LIBS_value=
  621. ac_cv_env_LCMS2_CFLAGS_set=
  622. ac_cv_env_LCMS2_CFLAGS_value=
  623. ac_cv_env_LCMS2_LIBS_set=
  624. ac_cv_env_LCMS2_LIBS_value=
  625. ac_cv_env_LDFLAGS_set=set
  626. ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
  627. ac_cv_env_LIBS_set=
  628. ac_cv_env_LIBS_value=
  629. ac_cv_env_MPG123_CFLAGS_set=
  630. ac_cv_env_MPG123_CFLAGS_value=
  631. ac_cv_env_MPG123_LIBS_set=
  632. ac_cv_env_MPG123_LIBS_value=
  633. ac_cv_env_NETAPI_CFLAGS_set=
  634. ac_cv_env_NETAPI_CFLAGS_value=
  635. ac_cv_env_NETAPI_LIBS_set=
  636. ac_cv_env_NETAPI_LIBS_value=
  637. ac_cv_env_PNG_CFLAGS_set=
  638. ac_cv_env_PNG_CFLAGS_value=
  639. ac_cv_env_PNG_LIBS_set=
  640. ac_cv_env_PNG_LIBS_value=
  641. ac_cv_env_PULSE_CFLAGS_set=
  642. ac_cv_env_PULSE_CFLAGS_value=
  643. ac_cv_env_PULSE_LIBS_set=
  644. ac_cv_env_PULSE_LIBS_value=
  645. ac_cv_env_SANE_CFLAGS_set=
  646. ac_cv_env_SANE_CFLAGS_value=
  647. ac_cv_env_SANE_LIBS_set=
  648. ac_cv_env_SANE_LIBS_value=
  649. ac_cv_env_TIFF_CFLAGS_set=
  650. ac_cv_env_TIFF_CFLAGS_value=
  651. ac_cv_env_TIFF_LIBS_set=
  652. ac_cv_env_TIFF_LIBS_value=
  653. ac_cv_env_UDEV_CFLAGS_set=
  654. ac_cv_env_UDEV_CFLAGS_value=
  655. ac_cv_env_UDEV_LIBS_set=
  656. ac_cv_env_UDEV_LIBS_value=
  657. ac_cv_env_XMKMF_set=
  658. ac_cv_env_XMKMF_value=
  659. ac_cv_env_XML2_CFLAGS_set=
  660. ac_cv_env_XML2_CFLAGS_value=
  661. ac_cv_env_XML2_LIBS_set=
  662. ac_cv_env_XML2_LIBS_value=
  663. ac_cv_env_XSLT_CFLAGS_set=
  664. ac_cv_env_XSLT_CFLAGS_value=
  665. ac_cv_env_XSLT_LIBS_set=
  666. ac_cv_env_XSLT_LIBS_value=
  667. ac_cv_env_build_alias_set=set
  668. ac_cv_env_build_alias_value=i686-pc-linux-gnu
  669. ac_cv_env_host_alias_set=set
  670. ac_cv_env_host_alias_value=i686-pc-linux-gnu
  671. ac_cv_env_target_alias_set=
  672. ac_cv_env_target_alias_value=
  673. ac_cv_header_CL_cl_h=no
  674. ac_cv_header_OpenCL_opencl_h=no
  675. ac_cv_header_gsm_gsm_h=no
  676. ac_cv_header_gsm_h=no
  677. ac_cv_header_pcap_pcap_h=no
  678. ac_cv_host=i686-pc-linux-gnu
  679. ac_cv_objext=o
  680. ac_cv_path_EGREP='/bin/grep -E'
  681. ac_cv_path_GREP=/bin/grep
  682. ac_cv_path_LDCONFIG=/bin/true
  683. ac_cv_prog_AR=ar
  684. ac_cv_prog_BISON=bison
  685. ac_cv_prog_CC='x86_64-pc-linux-gnu-gcc -m32'
  686. ac_cv_prog_FLEX=flex
  687. ac_cv_prog_LD='x86_64-pc-linux-gnu-ld -m elf_i386'
  688. ac_cv_prog_MSGFMT=msgfmt
  689. ac_cv_prog_RANLIB=ranlib
  690. ac_cv_prog_ac_ct_CPPBIN=cpp
  691. ac_cv_prog_ac_ct_STRIP=strip
  692. ac_cv_prog_cc_c11=
  693. ac_cv_prog_cc_g=yes
  694. ac_cv_prog_cc_stdc=
  695. ac_cv_prog_cxx_cxx11=-std=gnu++11
  696. ac_cv_prog_cxx_cxx98=-std=gnu++11
  697. ac_cv_prog_cxx_g=yes
  698. ac_cv_prog_cxx_stdcxx=-std=gnu++11
  699. ac_cv_prog_make_make_set=yes
  700. wine_cv_toolsdir='$(top_builddir)'
  701.  
  702. ## ----------------- ##
  703. ## Output variables. ##
  704. ## ----------------- ##
  705.  
  706. ALL_TEST_RESOURCES=''
  707. ALL_VARS_RULES=''
  708. ALSA_LIBS=''
  709. APPKIT_LIBS=''
  710. APPLICATIONSERVICES_LIBS=''
  711. AR='ar'
  712. ARFLAGS='rc'
  713. BISON='bison'
  714. BUILTINFLAG=''
  715. CAPI20_CFLAGS=''
  716. CAPI20_LIBS=''
  717. CARBON_LIBS=''
  718. CC='x86_64-pc-linux-gnu-gcc -m32'
  719. CFLAGS='-march=core-avx2 -O2 -pipe'
  720. CONFIGURE_TARGETS=''
  721. CONVERT=''
  722. COREAUDIO_LIBS=''
  723. COREFOUNDATION_LIBS=''
  724. CORESERVICES_LIBS=''
  725. CPP=''
  726. CPPBIN='cpp'
  727. CPPFLAGS=''
  728. CROSSCC=''
  729. CROSSTARGET=''
  730. CUPS_CFLAGS=''
  731. CXX='x86_64-pc-linux-gnu-g++ -m32 -std=gnu++11'
  732. CXXFLAGS='-march=core-avx2 -O2 -pipe'
  733. DBUS_CFLAGS=''
  734. DBUS_LIBS=''
  735. DEFS=''
  736. DISABLED_SUBDIRS=''
  737. DISKARBITRATION_LIBS=''
  738. DLLFLAGS=''
  739. DLLTOOL=''
  740. DL_LIBS=''
  741. ECHO_C=''
  742. ECHO_N='-n'
  743. ECHO_T=''
  744. EGREP='/bin/grep -E'
  745. EXCESS_PRECISION_CFLAGS=''
  746. EXEEXT=''
  747. EXTRACFLAGS=''
  748. FLEX='flex'
  749. FONTCONFIG_CFLAGS=''
  750. FONTCONFIG_LIBS=''
  751. FONTFORGE=''
  752. FORCEFEEDBACK_LIBS=''
  753. FREETYPE_CFLAGS=''
  754. FREETYPE_LIBS=''
  755. GETTEXTPO_LIBS=''
  756. GNUTLS_CFLAGS=''
  757. GNUTLS_LIBS=''
  758. GPHOTO2_CFLAGS=''
  759. GPHOTO2_LIBS=''
  760. GPHOTO2_PORT_CFLAGS=''
  761. GPHOTO2_PORT_LIBS=''
  762. GREP='/bin/grep'
  763. GSTREAMER_CFLAGS=''
  764. GSTREAMER_LIBS=''
  765. GTK3_CFLAGS=''
  766. HAL_CFLAGS=''
  767. HAL_LIBS=''
  768. ICOTOOL=''
  769. IOKIT_LIBS=''
  770. JPEG_CFLAGS=''
  771. JPEG_LIBS=''
  772. KSTAT_LIBS=''
  773. LCMS2_CFLAGS=''
  774. LCMS2_LIBS=''
  775. LD='x86_64-pc-linux-gnu-ld -m elf_i386'
  776. LDAP_LIBS=''
  777. LDCONFIG='/bin/true'
  778. LDD=''
  779. LDEXECFLAGS=''
  780. LDFLAGS='-Wl,-O1 -Wl,--as-needed'
  781. LDRPATH_INSTALL=''
  782. LDRPATH_LOCAL=''
  783. LIBOBJS=''
  784. LIBS=''
  785. LIBWINE_DEPENDS=''
  786. LIBWINE_IMPORTLIB=''
  787. LIBWINE_INSTALL_DEV=''
  788. LIBWINE_INSTALL_LIB=''
  789. LIBWINE_LDFLAGS=''
  790. LIBWINE_SHAREDLIB=''
  791. LN_S='ln -s'
  792. LTLIBOBJS=''
  793. MPG123_CFLAGS=''
  794. MPG123_LIBS=''
  795. MSGFMT='msgfmt'
  796. NETAPI_CFLAGS=''
  797. NETAPI_LIBS=''
  798. OBJEXT='o'
  799. OPENAL_LIBS=''
  800. OPENCL_LIBS=''
  801. OPENGL_LIBS=''
  802. OSS4_CFLAGS=''
  803. OTOOL=''
  804. PACKAGE_BUGREPORT='wine-devel@winehq.org'
  805. PACKAGE_NAME='Wine'
  806. PACKAGE_STRING='Wine 2.12'
  807. PACKAGE_TARNAME='wine'
  808. PACKAGE_URL='http://www.winehq.org'
  809. PACKAGE_VERSION='2.12'
  810. PATH_SEPARATOR=':'
  811. PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
  812. PNG_CFLAGS=''
  813. PNG_LIBS=''
  814. POLL_LIBS=''
  815. PRELINK=''
  816. PROCSTAT_LIBS=''
  817. PTHREAD_LIBS=''
  818. PULSE_CFLAGS=''
  819. PULSE_LIBS=''
  820. QUICKTIME_LIBS=''
  821. RANLIB='ranlib'
  822. READELF=''
  823. RESOLV_LIBS=''
  824. RSVG=''
  825. RT_LIBS=''
  826. SANE_CFLAGS=''
  827. SANE_LIBS=''
  828. SECURITY_LIBS=''
  829. SET_MAKE=''
  830. SHELL='/bin/sh'
  831. SOCKET_LIBS=''
  832. STRIP='strip'
  833. SUBDIRS=''
  834. TARGETFLAGS=''
  835. TIFF_CFLAGS=''
  836. TIFF_LIBS=''
  837. TOOLSDIR='$(top_builddir)'
  838. TOOLSEXT=''
  839. UDEV_CFLAGS=''
  840. UDEV_LIBS=''
  841. UNWINDFLAGS=''
  842. WINELOADER_DEPENDS=''
  843. WINELOADER_INSTALL=''
  844. WINELOADER_LDFLAGS=''
  845. WINELOADER_PROGRAMS=''
  846. WINEPRELOADER_LDFLAGS=''
  847. XMKMF=''
  848. XML2_CFLAGS=''
  849. XML2_LIBS=''
  850. XSLT_CFLAGS=''
  851. XSLT_LIBS=''
  852. X_CFLAGS=''
  853. X_EXTRA_LIBS=''
  854. X_LIBS=''
  855. X_PRE_LIBS=''
  856. Z_LIBS=''
  857. ac_ct_AR=''
  858. ac_ct_CC=''
  859. ac_ct_CXX=''
  860. bindir='${exec_prefix}/bin'
  861. build='i686-pc-linux-gnu'
  862. build_alias='i686-pc-linux-gnu'
  863. build_cpu='i686'
  864. build_os='linux-gnu'
  865. build_vendor='pc'
  866. datadir='/usr/share/wine-staging-2.12'
  867. datarootdir='/usr/share/wine-staging-2.12'
  868. dlldir=''
  869. docdir='/usr/share/doc/wine-staging-2.12'
  870. dvidir='${docdir}'
  871. exec_prefix='NONE'
  872. host='i686-pc-linux-gnu'
  873. host_alias='i686-pc-linux-gnu'
  874. host_cpu='i686'
  875. host_os='linux-gnu'
  876. host_vendor='pc'
  877. htmldir='/usr/share/doc/wine-staging-2.12/html'
  878. includedir='/usr/include/wine-staging-2.12'
  879. infodir='/usr/share/info'
  880. libdir='/usr/lib32/wine-staging-2.12'
  881. libexecdir='/usr/libexec/wine-staging-2.12'
  882. localedir='${datarootdir}/locale'
  883. localstatedir='/var/wine-staging-2.12'
  884. mandir='/usr/share/wine-staging-2.12/man'
  885. oldincludedir='/usr/include'
  886. pdfdir='${docdir}'
  887. prefix='/usr/lib/wine-staging-2.12'
  888. program_transform_name='s,x,x,'
  889. psdir='${docdir}'
  890. runstatedir='${localstatedir}/run'
  891. sbindir='${exec_prefix}/sbin'
  892. sharedstatedir='${prefix}/com'
  893. sysconfdir='/etc/wine'
  894. target_alias=''
  895.  
  896. ## ----------- ##
  897. ## confdefs.h. ##
  898. ## ----------- ##
  899.  
  900. /* confdefs.h */
  901. #define PACKAGE_NAME "Wine"
  902. #define PACKAGE_TARNAME "wine"
  903. #define PACKAGE_VERSION "2.12"
  904. #define PACKAGE_STRING "Wine 2.12"
  905. #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
  906. #define PACKAGE_URL "http://www.winehq.org"
  907. #define EXEEXT ""
  908.  
  909. configure: exit 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement