Advertisement
Guest User

openquartz compile

a guest
Jan 9th, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.80 KB | None | 0 0
  1. danfun64@DF64-debian:~/Documents/openquartz-src/utils$ make
  2. mkdir bin
  3. make -C mdl2map
  4. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/mdl2map'
  5. g++ -c -O -fomit-frame-pointer -Wall -I../../src -o main.o main.cpp
  6. g++ -c -O -fomit-frame-pointer -Wall -I../../src -o mdl.o mdl.cpp
  7. mdl.cpp: In member function ‘void Mdl::noError()’:
  8. mdl.cpp:77:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  9. setError("No error");
  10. ^
  11. mdl.cpp: In member function ‘bool Mdl::ReadMDLFile(char*)’:
  12. mdl.cpp:103:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  13. return setError("Cannot find a null file name");
  14. ^
  15. mdl.cpp:106:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  16. return setError("Cannot find mdl file !");
  17. ^
  18. mdl.cpp:111:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  19. return setError("Cannot read magic header");
  20. ^
  21. mdl.cpp:117:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  22. return setError("Invalid mdl magic");
  23. ^
  24. mdl.cpp:121:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  25. return setError("Invalid mdl version");
  26. ^
  27. mdl.cpp:126:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  28. return setError("Cannot read mdl header");
  29. ^
  30. mdl.cpp:165:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  31. return setError("Error then reading mdl file");
  32. ^
  33. mdl.cpp:169:61: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  34. return setError("Incoherence in skin model properties");
  35. ^
  36. mdl.cpp:178:60: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  37. return setError("Error then reading alone tex skin");
  38. ^
  39. mdl.cpp:184:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  40. return setError("Error then reading mdl file");
  41. ^
  42. mdl.cpp:190:60: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  43. return setError("Error then reading multi-tex skin");
  44. ^
  45. mdl.cpp:200:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  46. return setError("Error then reading multi-tex skin");
  47. ^
  48. mdl.cpp:212:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  49. return setError("Error then reading mdl file");
  50. ^
  51. mdl.cpp:225:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  52. return setError("Error then reading mdl file");
  53. ^
  54. mdl.cpp:240:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  55. return setError("Error then reading mdl file");
  56. ^
  57. mdl.cpp:254:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  58. return setError("Error then reading mdl file");
  59. ^
  60. mdl.cpp:259:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  61. return setError("Error then reading mdl file");
  62. ^
  63. mdl.cpp:264:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  64. return setError("Error then reading mdl file");
  65. ^
  66. mdl.cpp:268:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  67. return setError("Error then reading mdl file");
  68. ^
  69. mdl.cpp:275:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  70. return setError("Error then reading mdl file");
  71. ^
  72. mdl.cpp:283:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  73. return setError("Error then reading mdl file");
  74. ^
  75. mdl.cpp:287:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  76. return setError("Error then reading mdl file");
  77. ^
  78. mdl.cpp:291:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  79. return setError("Error then reading mdl file");
  80. ^
  81. mdl.cpp:300:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  82. return setError("Error then reading mdl file");
  83. ^
  84. mdl.cpp:304:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  85. return setError("Error then reading mdl file");
  86. ^
  87. mdl.cpp:308:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  88. return setError("Error then reading mdl file");
  89. ^
  90. mdl.cpp:313:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  91. return setError("Error then reading mdl file");
  92. ^
  93. g++ -c -O -fomit-frame-pointer -Wall -I../../src -o map.o map.cpp
  94. g++ -c -O -fomit-frame-pointer -Wall -I../../src -o csendian.o csendian.cpp
  95. g++ -o ../bin/mdl2map main.o mdl.o map.o csendian.o
  96. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/mdl2map'
  97. make -C mesh2map
  98. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/mesh2map'
  99. cc -o ../bin/mesh2map -O2 -lm -Wall mesh2map.c
  100. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/mesh2map'
  101. make -C mkwad
  102. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/mkwad'
  103. cc -o ../bin/mkwad -O2 -Wall mkwad.c
  104. mkwad.c: In function ‘CreateWAD’:
  105. mkwad.c:90:4: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness [-Wpointer-sign]
  106. strncpy(h.id,"WAD2",4);
  107. ^
  108. mkwad.c:90:4: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  109. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/mkwad'
  110. make -C par
  111. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/par'
  112. cc -Wall -O2 -o ../bin/par par.c
  113. par.c: In function ‘realloc_pak_toc’:
  114. par.c:686:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  115. noe*sizeof(struct pak_tocentry) );
  116. ^
  117. par.c: In function ‘list_pak_toc’:
  118. par.c:895:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  119. list_noe*sizeof(unsigned char) );
  120. ^
  121. par.c: In function ‘extract_pak’:
  122. par.c:993:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  123. list_noe*sizeof(unsigned char) );
  124. ^
  125. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/par'
  126. make -C pcx2lmp
  127. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/pcx2lmp'
  128. cc -o ../bin/pcx2lmp -O2 -Wall pcx2lmp.c
  129. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/pcx2lmp'
  130. make -C lmp2pcx
  131. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
  132. make EXE=../bin/lmp2pcx LDFLAGS="" ../bin/lmp2pcx
  133. make[2]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
  134. gcc -Wall -O2 -c lmp2pcx.c
  135. lmp2pcx.c: In function ‘ConvertWAD’:
  136. lmp2pcx.c:813:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  137. lump = (void *)((int) waddata + wad->infotableofs);
  138. ^
  139. lmp2pcx.c:813:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  140. lump = (void *)((int) waddata + wad->infotableofs);
  141. ^
  142. gcc -o ../bin/lmp2pcx lmp2pcx.o
  143. make[2]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
  144. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
  145. make -C qutils
  146. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/qutils'
  147. cc -c -g -O2 -Wall -Icommon -o qbsp/brush.o qbsp/brush.c
  148. cc -c -g -O2 -Wall -Icommon -o qbsp/csg4.o qbsp/csg4.c
  149. cc -c -g -O2 -Wall -Icommon -o qbsp/map.o qbsp/map.c
  150. cc -c -g -O2 -Wall -Icommon -o qbsp/merge.o qbsp/merge.c
  151. cc -c -g -O2 -Wall -Icommon -o qbsp/nodraw.o qbsp/nodraw.c
  152. cc -c -g -O2 -Wall -Icommon -o qbsp/outside.o qbsp/outside.c
  153. cc -c -g -O2 -Wall -Icommon -o qbsp/portals.o qbsp/portals.c
  154. cc -c -g -O2 -Wall -Icommon -o qbsp/qbsp.o qbsp/qbsp.c
  155. qbsp/qbsp.c: In function ‘CopyWinding’:
  156. qbsp/qbsp.c:153:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  157. size = (int)((winding_t *)0)->points[w->numpoints];
  158. ^
  159. qbsp/qbsp.c: In function ‘NewWinding’:
  160. qbsp/qbsp.c:425:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  161. size = (int)((winding_t *)0)->points[points];
  162. ^
  163. cc -c -g -O2 -Wall -Icommon -o qbsp/region.o qbsp/region.c
  164. cc -c -g -O2 -Wall -Icommon -o qbsp/solidbsp.o qbsp/solidbsp.c
  165. cc -c -g -O2 -Wall -Icommon -o qbsp/surfaces.o qbsp/surfaces.c
  166. cc -c -g -O2 -Wall -Icommon -o qbsp/tjunc.o qbsp/tjunc.c
  167. cc -c -g -O2 -Wall -Icommon -o qbsp/writebsp.o qbsp/writebsp.c
  168. cc -c -g -O2 -Wall -Icommon -o common/bspfile.o common/bspfile.c
  169. common/bspfile.c: In function ‘PrintBSPFileSizes’:
  170. common/bspfile.c:389:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  171. printf ("%5i textures %6i\n",((dmiptexlump_t*)dtexdata)->nummiptex, texdatasize);
  172. ^
  173. common/bspfile.c: In function ‘SwapBSPFile’:
  174. common/bspfile.c:135:40: warning: iteration 4u invokes undefined behavior [-Waggressive-loop-optimizations]
  175. texinfo[i].vecs[0][j] = LittleFloat (texinfo[i].vecs[0][j]);
  176. ^
  177. common/bspfile.c:134:3: note: containing loop
  178. for (j=0 ; j<8 ; j++)
  179. ^
  180. cc -c -g -O2 -Wall -Icommon -o common/cadlib.o common/cadlib.c
  181. cc -c -g -O2 -Wall -Icommon -o common/cmdlib.o common/cmdlib.c
  182. common/cmdlib.c: In function ‘ExpandPath’:
  183. common/cmdlib.c:154:6: warning: the address of ‘qdir’ will always evaluate as ‘true’ [-Waddress]
  184. if (!qdir)
  185. ^
  186. cc -c -g -O2 -Wall -Icommon -o common/lbmlib.o common/lbmlib.c
  187. cc -c -g -O2 -Wall -Icommon -o common/mathlib.o common/mathlib.c
  188. cc -c -g -O2 -Wall -Icommon -o common/polylib.o common/polylib.c
  189. common/polylib.c: In function ‘CopyWinding’:
  190. common/polylib.c:220:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  191. size = (int)((winding_t *)0)->p[w->numpoints];
  192. ^
  193. cc -c -g -O2 -Wall -Icommon -o common/qmalloc.o common/qmalloc.c
  194. common/qmalloc.c: In function ‘Q_malloc’:
  195. common/qmalloc.c:17:7: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
  196. NoMem("malloc");
  197. ^
  198. common/qmalloc.c: In function ‘Q_realloc’:
  199. common/qmalloc.c:26:7: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
  200. NoMem("realloc");
  201. ^
  202. cc -c -g -O2 -Wall -Icommon -o common/scriplib.o common/scriplib.c
  203. cc -c -g -O2 -Wall -Icommon -o common/threads.o common/threads.c
  204. cc -c -g -O2 -Wall -Icommon -o common/trilib.o common/trilib.c
  205. common/trilib.c: In function ‘LoadTriangleList’:
  206. common/trilib.c:104:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  207. *(int *)&start = BigLong(*(int *)&start);
  208. ^
  209. common/trilib.c:104:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  210. common/trilib.c:105:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  211. if (*(int *)&start != exitpattern)
  212. ^
  213. cc -c -g -O2 -Wall -Icommon -o common/wadlib.o common/wadlib.c
  214. common/wadlib.c: In function ‘W_CheckNumForName’:
  215. common/wadlib.c:135:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  216. v1 = *(int *)cleanname;
  217. ^
  218. common/wadlib.c:136:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  219. v2 = *(int *)&cleanname[4];
  220. ^
  221. common/wadlib.c:137:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  222. v3 = *(int *)&cleanname[8];
  223. ^
  224. common/wadlib.c:138:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  225. v4 = *(int *)&cleanname[12];
  226. ^
  227. common/wadlib.c:145:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  228. if ( *(int *)lump_p->name == v1
  229. ^
  230. common/wadlib.c:146:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  231. && *(int *)&lump_p->name[4] == v2
  232. ^
  233. common/wadlib.c:147:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  234. && *(int *)&lump_p->name[8] == v3
  235. ^
  236. common/wadlib.c:148:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  237. && *(int *)&lump_p->name[12] == v4)
  238. ^
  239. common/wadlib.c: In function ‘AddLump’:
  240. common/wadlib.c:299:23: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  241. memset (info,0,sizeof(info));
  242. ^
  243. cc -c -g -O2 -Wall -Icommon -o common/work.o common/work.c
  244. ar rcus common/common.a common/bspfile.o common/cadlib.o common/cmdlib.o common/lbmlib.o common/mathlib.o common/polylib.o common/qmalloc.o common/scriplib.o common/threads.o common/trilib.o common/wadlib.o common/work.o
  245. cc -o bin/qbsp qbsp/brush.o qbsp/csg4.o qbsp/map.o qbsp/merge.o qbsp/nodraw.o qbsp/outside.o qbsp/portals.o qbsp/qbsp.o qbsp/region.o qbsp/solidbsp.o qbsp/surfaces.o qbsp/tjunc.o qbsp/writebsp.o common/common.a -lm
  246. cc -c -g -O2 -Wall -Icommon -o light/entities.o light/entities.c
  247. light/entities.c: In function ‘LoadEntities’:
  248. light/entities.c:155:28: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  249. memset (epair, 0, sizeof(epair));
  250. ^
  251. cc -c -g -O2 -Wall -Icommon -o light/light.o light/light.c
  252. cc -c -g -O2 -Wall -Icommon -o light/ltface.o light/ltface.c
  253. light/ltface.c: In function ‘LightFace’:
  254. light/ltface.c:674:10: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
  255. int w, h;
  256. ^
  257. cc -c -g -O2 -Wall -Icommon -o light/threads.o light/threads.c
  258. cc -c -g -O2 -Wall -Icommon -o light/trace.o light/trace.c
  259. cc -o bin/light light/entities.o light/light.o light/ltface.o light/threads.o light/trace.o common/common.a -lm
  260. cc -c -g -O2 -Wall -Icommon -o vis/flow.o vis/flow.c
  261. cc -c -g -O2 -Wall -Icommon -o vis/soundpvs.o vis/soundpvs.c
  262. vis/soundpvs.c: In function ‘CalcAmbientSounds’:
  263. vis/soundpvs.c:114:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  264. ofs = ((dmiptexlump_t *)dtexdata)->dataofs[info->miptex];
  265. ^
  266. cc -c -g -O2 -Wall -Icommon -o vis/vis.o vis/vis.c
  267. vis/vis.c: In function ‘NewWinding’:
  268. vis/vis.c:152:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  269. size = (int)((winding_t *)0)->points[points];
  270. ^
  271. vis/vis.c: In function ‘CopyWinding’:
  272. vis/vis.c:198:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  273. size = (int)((winding_t *)0)->points[w->numpoints];
  274. ^
  275. cc -o bin/vis vis/flow.o vis/soundpvs.o vis/vis.o common/common.a -lm
  276. cc -c -g -O2 -Wall -Icommon -o bspinfo/bspinfo.o bspinfo/bspinfo.c
  277. cc -o bin/bspinfo bspinfo/bspinfo.o common/common.a -lm
  278. cc -c -g -O2 -Wall -Icommon -o texmake/texmake.o texmake/texmake.c
  279. cc -o bin/texmake texmake/texmake.o common/common.a -lm
  280. cc -c -g -O2 -Wall -Icommon -o modelgen/modelgen.o modelgen/modelgen.c
  281. modelgen/modelgen.c: In function ‘Cmd_Skin’:
  282. modelgen/modelgen.c:894:3: warning: pointer targets in passing argument 1 of ‘png_sig_cmp’ differ in signedness [-Wpointer-sign]
  283. if (!(is_png = !png_sig_cmp (header, 0, PNG_BYTES_TO_CHECK)))
  284. ^
  285. In file included from /usr/include/png.h:538:0,
  286. from modelgen/modelgen.c:33:
  287. /usr/include/png.h:1594:8: note: expected ‘png_bytep’ but argument is of type ‘char *’
  288. extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start,
  289. ^
  290. cc -o bin/modelgen modelgen/modelgen.o common/common.a -lpng -lz -lm
  291. cc -c -g -O2 -Wall -Icommon -o modelgen/skinless.o modelgen/skinless.c
  292. cc -o bin/skinless modelgen/skinless.o common/common.a -lm
  293. cc -c -g -O2 -Wall -Icommon -o qcc/pr_comp.o qcc/pr_comp.c
  294. qcc/pr_comp.c: In function ‘Hash’:
  295. qcc/pr_comp.c:46:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  296. return (s_name^((int)scope))&(HASH_SIZE-1);
  297. ^
  298. qcc/pr_comp.c: In function ‘PR_ParseImmediate’:
  299. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  300. if (!strcmp(G_STRING(cn->ofs), pr_immediate_string) )
  301. ^
  302. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  303. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  304. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  305. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  306. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  307. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  308. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  309. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  310. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  311. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  312. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  313. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  314. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  315. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  316. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  317. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  318. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  319. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  320. qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  321. qcc/pr_comp.c: In function ‘PR_GetDef’:
  322. qcc/pr_comp.c:214:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  323. *(int *)&pr_globals[def->ofs] = pr.size_fields;
  324. ^
  325. qcc/pr_comp.c: In function ‘PR_ParseDefs’:
  326. qcc/pr_comp.c:1087:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  327. G_FUNCTION(def->ofs) = numfunctions;
  328. ^
  329. cc -c -g -O2 -Wall -Icommon -o qcc/pr_lex.o qcc/pr_lex.c
  330. cc -c -g -O2 -Wall -Icommon -o qcc/qcc.o qcc/qcc.c
  331. qcc/qcc.c: In function ‘WriteData’:
  332. qcc/qcc.c:256:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  333. dd->ofs = G_INT(def->ofs);
  334. ^
  335. qcc/qcc.c: In function ‘PR_DefForFieldOfs’:
  336. qcc/qcc.c:415:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  337. if (*((int *)&pr_globals[d->ofs]) == ofs)
  338. ^
  339. qcc/qcc.c: In function ‘PR_GlobalStringNoContents’:
  340. qcc/qcc.c:486:8: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
  341. void *val;
  342. ^
  343. qcc/qcc.c: In function ‘PR_GlobalString’:
  344. qcc/qcc.c:510:8: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
  345. void *val;
  346. ^
  347. cc -o bin/qcc qcc/pr_comp.o qcc/pr_lex.o qcc/qcc.o common/common.a -lm
  348. cc -c -g -O2 -Wall -Icommon -o qfiles/qfiles.o qfiles/qfiles.c
  349. cc -o bin/qfiles qfiles/qfiles.o common/common.a -lm
  350. cc -c -g -O2 -Wall -Icommon -o qlumpy/qlumpy.o qlumpy/qlumpy.c
  351. qlumpy/qlumpy.c: In function ‘LoadScreen’:
  352. qlumpy/qlumpy.c:135:4: warning: pointer targets in passing argument 1 of ‘png_sig_cmp’ differ in signedness [-Wpointer-sign]
  353. if (!(is_png = !png_sig_cmp(header, 0, PNG_BYTES_TO_CHECK)))
  354. ^
  355. In file included from /usr/include/png.h:538:0,
  356. from qlumpy/qlumpy.c:20:
  357. /usr/include/png.h:1594:8: note: expected ‘png_bytep’ but argument is of type ‘char *’
  358. extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start,
  359. ^
  360. qlumpy/qlumpy.c: In function ‘WriteLump’:
  361. qlumpy/qlumpy.c:238:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  362. while ((int)lump_p&3)
  363. ^
  364. cc -c -g -O2 -Wall -Icommon -o qlumpy/quakegrb.o qlumpy/quakegrb.c
  365. qlumpy/quakegrb.c: In function ‘GrabPic’:
  366. qlumpy/quakegrb.c:126:18: warning: variable ‘transcolor’ set but not used [-Wunused-but-set-variable]
  367. byte transcolor;
  368. ^
  369. cc -o bin/qlumpy qlumpy/qlumpy.o qlumpy/quakegrb.o common/common.a -lpng -lz -lm
  370. cc -c -g -O2 -Wall -Icommon -o sprgen/sprgen.o sprgen/sprgen.c
  371. sprgen/sprgen.c: In function ‘LoadScreen’:
  372. sprgen/sprgen.c:257:4: warning: pointer targets in passing argument 1 of ‘png_sig_cmp’ differ in signedness [-Wpointer-sign]
  373. if (!(is_png = !png_sig_cmp(header, 0, PNG_BYTES_TO_CHECK)))
  374. ^
  375. In file included from /usr/include/png.h:538:0,
  376. from sprgen/sprgen.c:25:
  377. /usr/include/png.h:1594:8: note: expected ‘png_bytep’ but argument is of type ‘char *’
  378. extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start,
  379. ^
  380. sprgen/sprgen.c: In function ‘Cmd_Frame’:
  381. sprgen/sprgen.c:386:30: warning: variable ‘source’ set but not used [-Wunused-but-set-variable]
  382. byte *screen_p, *source;
  383. ^
  384. cc -o bin/sprgen sprgen/sprgen.o common/common.a -lpng -lz -lm
  385. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/qutils'
  386. make -C toon
  387. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/toon'
  388. cc -o ../bin/toon -O2 -lm -Wall toon.c
  389. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/toon'
  390. make -C tri2map
  391. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/tri2map'
  392. cc -o ../bin/tri2map -O2 -lm -Wall tri2map.c
  393. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/tri2map'
  394. make -C tyrlite
  395. make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/tyrlite'
  396. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/entities.o tyrlite/entities.c
  397. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  398. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/litfile.o tyrlite/litfile.c
  399. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  400. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/ltface.o tyrlite/ltface.c
  401. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  402. tyrlite/ltface.c: In function ‘LightFace’:
  403. tyrlite/ltface.c:793:12: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
  404. int w, h;
  405. ^
  406. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/threads.o tyrlite/threads.c
  407. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  408. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/trace.o tyrlite/trace.c
  409. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  410. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/tyrlite.o tyrlite/tyrlite.c
  411. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  412. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/bspfile.o common/bspfile.c
  413. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  414. common/bspfile.c: In function ‘PrintBSPFileSizes’:
  415. common/bspfile.c:368:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  416. ((dmiptexlump_t *)dtexdata)->nummiptex, texdatasize);
  417. ^
  418. common/bspfile.c: In function ‘SwapBSPFile’:
  419. common/bspfile.c:126:41: warning: iteration 4u invokes undefined behavior [-Waggressive-loop-optimizations]
  420. texinfo[i].vecs[0][j] = LittleFloat(texinfo[i].vecs[0][j]);
  421. ^
  422. common/bspfile.c:125:2: note: containing loop
  423. for (j = 0; j < 8; j++)
  424. ^
  425. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/cmdlib.o common/cmdlib.c
  426. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  427. common/cmdlib.c: In function ‘ExpandPath’:
  428. common/cmdlib.c:128:9: warning: the address of ‘qdir’ will always evaluate as ‘true’ [-Waddress]
  429. if (!qdir)
  430. ^
  431. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/mathlib.o common/mathlib.c
  432. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  433. gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/tyrlog.o common/tyrlog.c
  434. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  435. gcc -DLINUX -I./include -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -o ../bin/tyrlite tyrlite/entities.o tyrlite/litfile.o tyrlite/ltface.o tyrlite/threads.o tyrlite/trace.o tyrlite/tyrlite.o common/bspfile.o common/cmdlib.o common/mathlib.o common/tyrlog.o -lm
  436. gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
  437. make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/tyrlite'
  438. danfun64@DF64-debian:~/Documents/openquartz-src/utils$ cd ..
  439. danfun64@DF64-debian:~/Documents/openquartz-src$ cd pak0
  440.  
  441. danfun64@DF64-debian:~/Documents/openquartz-src/pak0$ make
  442. ../utils/qutils/bin/qlumpy gfx_wad.ls
  443.  
  444. qlumpy 2.0 by John Carmack, copyright (c) 1994 Id Software
  445. qdir: /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.ls
  446. gamedir: /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.ls
  447. qlumpy script: gfx_wad.ls
  448. grabbing from /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.lsgfx/numbers.png...
  449. ************ ERROR ************
  450. Couldn't open image /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.lsgfx/numbers.png
  451. make: *** [gfx.wad] Error 1
  452. danfun64@DF64-debian:~/Documents/openquartz-src/pak0$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement