Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- danfun64@DF64-debian:~/Documents/openquartz-src/utils$ make
- mkdir bin
- make -C mdl2map
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/mdl2map'
- g++ -c -O -fomit-frame-pointer -Wall -I../../src -o main.o main.cpp
- g++ -c -O -fomit-frame-pointer -Wall -I../../src -o mdl.o mdl.cpp
- mdl.cpp: In member function ‘void Mdl::noError()’:
- mdl.cpp:77:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- setError("No error");
- ^
- mdl.cpp: In member function ‘bool Mdl::ReadMDLFile(char*)’:
- mdl.cpp:103:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Cannot find a null file name");
- ^
- mdl.cpp:106:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Cannot find mdl file !");
- ^
- mdl.cpp:111:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Cannot read magic header");
- ^
- mdl.cpp:117:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Invalid mdl magic");
- ^
- mdl.cpp:121:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Invalid mdl version");
- ^
- mdl.cpp:126:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Cannot read mdl header");
- ^
- mdl.cpp:165:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:169:61: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Incoherence in skin model properties");
- ^
- mdl.cpp:178:60: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading alone tex skin");
- ^
- mdl.cpp:184:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:190:60: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading multi-tex skin");
- ^
- mdl.cpp:200:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading multi-tex skin");
- ^
- mdl.cpp:212:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:225:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:240:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:254:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:259:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:264:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:268:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:275:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:283:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:287:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:291:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:300:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:304:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:308:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- mdl.cpp:313:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- return setError("Error then reading mdl file");
- ^
- g++ -c -O -fomit-frame-pointer -Wall -I../../src -o map.o map.cpp
- g++ -c -O -fomit-frame-pointer -Wall -I../../src -o csendian.o csendian.cpp
- g++ -o ../bin/mdl2map main.o mdl.o map.o csendian.o
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/mdl2map'
- make -C mesh2map
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/mesh2map'
- cc -o ../bin/mesh2map -O2 -lm -Wall mesh2map.c
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/mesh2map'
- make -C mkwad
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/mkwad'
- cc -o ../bin/mkwad -O2 -Wall mkwad.c
- mkwad.c: In function ‘CreateWAD’:
- mkwad.c:90:4: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness [-Wpointer-sign]
- strncpy(h.id,"WAD2",4);
- ^
- mkwad.c:90:4: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/mkwad'
- make -C par
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/par'
- cc -Wall -O2 -o ../bin/par par.c
- par.c: In function ‘realloc_pak_toc’:
- par.c:686:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
- noe*sizeof(struct pak_tocentry) );
- ^
- par.c: In function ‘list_pak_toc’:
- par.c:895:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
- list_noe*sizeof(unsigned char) );
- ^
- par.c: In function ‘extract_pak’:
- par.c:993:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
- list_noe*sizeof(unsigned char) );
- ^
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/par'
- make -C pcx2lmp
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/pcx2lmp'
- cc -o ../bin/pcx2lmp -O2 -Wall pcx2lmp.c
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/pcx2lmp'
- make -C lmp2pcx
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
- make EXE=../bin/lmp2pcx LDFLAGS="" ../bin/lmp2pcx
- make[2]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
- gcc -Wall -O2 -c lmp2pcx.c
- lmp2pcx.c: In function ‘ConvertWAD’:
- lmp2pcx.c:813:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- lump = (void *)((int) waddata + wad->infotableofs);
- ^
- lmp2pcx.c:813:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- lump = (void *)((int) waddata + wad->infotableofs);
- ^
- gcc -o ../bin/lmp2pcx lmp2pcx.o
- make[2]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/lmp2pcx'
- make -C qutils
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/qutils'
- cc -c -g -O2 -Wall -Icommon -o qbsp/brush.o qbsp/brush.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/csg4.o qbsp/csg4.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/map.o qbsp/map.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/merge.o qbsp/merge.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/nodraw.o qbsp/nodraw.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/outside.o qbsp/outside.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/portals.o qbsp/portals.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/qbsp.o qbsp/qbsp.c
- qbsp/qbsp.c: In function ‘CopyWinding’:
- qbsp/qbsp.c:153:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- size = (int)((winding_t *)0)->points[w->numpoints];
- ^
- qbsp/qbsp.c: In function ‘NewWinding’:
- qbsp/qbsp.c:425:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- size = (int)((winding_t *)0)->points[points];
- ^
- cc -c -g -O2 -Wall -Icommon -o qbsp/region.o qbsp/region.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/solidbsp.o qbsp/solidbsp.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/surfaces.o qbsp/surfaces.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/tjunc.o qbsp/tjunc.c
- cc -c -g -O2 -Wall -Icommon -o qbsp/writebsp.o qbsp/writebsp.c
- cc -c -g -O2 -Wall -Icommon -o common/bspfile.o common/bspfile.c
- common/bspfile.c: In function ‘PrintBSPFileSizes’:
- common/bspfile.c:389:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- printf ("%5i textures %6i\n",((dmiptexlump_t*)dtexdata)->nummiptex, texdatasize);
- ^
- common/bspfile.c: In function ‘SwapBSPFile’:
- common/bspfile.c:135:40: warning: iteration 4u invokes undefined behavior [-Waggressive-loop-optimizations]
- texinfo[i].vecs[0][j] = LittleFloat (texinfo[i].vecs[0][j]);
- ^
- common/bspfile.c:134:3: note: containing loop
- for (j=0 ; j<8 ; j++)
- ^
- cc -c -g -O2 -Wall -Icommon -o common/cadlib.o common/cadlib.c
- cc -c -g -O2 -Wall -Icommon -o common/cmdlib.o common/cmdlib.c
- common/cmdlib.c: In function ‘ExpandPath’:
- common/cmdlib.c:154:6: warning: the address of ‘qdir’ will always evaluate as ‘true’ [-Waddress]
- if (!qdir)
- ^
- cc -c -g -O2 -Wall -Icommon -o common/lbmlib.o common/lbmlib.c
- cc -c -g -O2 -Wall -Icommon -o common/mathlib.o common/mathlib.c
- cc -c -g -O2 -Wall -Icommon -o common/polylib.o common/polylib.c
- common/polylib.c: In function ‘CopyWinding’:
- common/polylib.c:220:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- size = (int)((winding_t *)0)->p[w->numpoints];
- ^
- cc -c -g -O2 -Wall -Icommon -o common/qmalloc.o common/qmalloc.c
- common/qmalloc.c: In function ‘Q_malloc’:
- common/qmalloc.c:17:7: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
- NoMem("malloc");
- ^
- common/qmalloc.c: In function ‘Q_realloc’:
- common/qmalloc.c:26:7: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
- NoMem("realloc");
- ^
- cc -c -g -O2 -Wall -Icommon -o common/scriplib.o common/scriplib.c
- cc -c -g -O2 -Wall -Icommon -o common/threads.o common/threads.c
- cc -c -g -O2 -Wall -Icommon -o common/trilib.o common/trilib.c
- common/trilib.c: In function ‘LoadTriangleList’:
- common/trilib.c:104:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- *(int *)&start = BigLong(*(int *)&start);
- ^
- common/trilib.c:104:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- common/trilib.c:105:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- if (*(int *)&start != exitpattern)
- ^
- cc -c -g -O2 -Wall -Icommon -o common/wadlib.o common/wadlib.c
- common/wadlib.c: In function ‘W_CheckNumForName’:
- common/wadlib.c:135:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- v1 = *(int *)cleanname;
- ^
- common/wadlib.c:136:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- v2 = *(int *)&cleanname[4];
- ^
- common/wadlib.c:137:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- v3 = *(int *)&cleanname[8];
- ^
- common/wadlib.c:138:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- v4 = *(int *)&cleanname[12];
- ^
- common/wadlib.c:145:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- if ( *(int *)lump_p->name == v1
- ^
- common/wadlib.c:146:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- && *(int *)&lump_p->name[4] == v2
- ^
- common/wadlib.c:147:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- && *(int *)&lump_p->name[8] == v3
- ^
- common/wadlib.c:148:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- && *(int *)&lump_p->name[12] == v4)
- ^
- common/wadlib.c: In function ‘AddLump’:
- 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]
- memset (info,0,sizeof(info));
- ^
- cc -c -g -O2 -Wall -Icommon -o common/work.o common/work.c
- 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
- 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
- cc -c -g -O2 -Wall -Icommon -o light/entities.o light/entities.c
- light/entities.c: In function ‘LoadEntities’:
- 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]
- memset (epair, 0, sizeof(epair));
- ^
- cc -c -g -O2 -Wall -Icommon -o light/light.o light/light.c
- cc -c -g -O2 -Wall -Icommon -o light/ltface.o light/ltface.c
- light/ltface.c: In function ‘LightFace’:
- light/ltface.c:674:10: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
- int w, h;
- ^
- cc -c -g -O2 -Wall -Icommon -o light/threads.o light/threads.c
- cc -c -g -O2 -Wall -Icommon -o light/trace.o light/trace.c
- cc -o bin/light light/entities.o light/light.o light/ltface.o light/threads.o light/trace.o common/common.a -lm
- cc -c -g -O2 -Wall -Icommon -o vis/flow.o vis/flow.c
- cc -c -g -O2 -Wall -Icommon -o vis/soundpvs.o vis/soundpvs.c
- vis/soundpvs.c: In function ‘CalcAmbientSounds’:
- vis/soundpvs.c:114:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- ofs = ((dmiptexlump_t *)dtexdata)->dataofs[info->miptex];
- ^
- cc -c -g -O2 -Wall -Icommon -o vis/vis.o vis/vis.c
- vis/vis.c: In function ‘NewWinding’:
- vis/vis.c:152:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- size = (int)((winding_t *)0)->points[points];
- ^
- vis/vis.c: In function ‘CopyWinding’:
- vis/vis.c:198:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- size = (int)((winding_t *)0)->points[w->numpoints];
- ^
- cc -o bin/vis vis/flow.o vis/soundpvs.o vis/vis.o common/common.a -lm
- cc -c -g -O2 -Wall -Icommon -o bspinfo/bspinfo.o bspinfo/bspinfo.c
- cc -o bin/bspinfo bspinfo/bspinfo.o common/common.a -lm
- cc -c -g -O2 -Wall -Icommon -o texmake/texmake.o texmake/texmake.c
- cc -o bin/texmake texmake/texmake.o common/common.a -lm
- cc -c -g -O2 -Wall -Icommon -o modelgen/modelgen.o modelgen/modelgen.c
- modelgen/modelgen.c: In function ‘Cmd_Skin’:
- modelgen/modelgen.c:894:3: warning: pointer targets in passing argument 1 of ‘png_sig_cmp’ differ in signedness [-Wpointer-sign]
- if (!(is_png = !png_sig_cmp (header, 0, PNG_BYTES_TO_CHECK)))
- ^
- In file included from /usr/include/png.h:538:0,
- from modelgen/modelgen.c:33:
- /usr/include/png.h:1594:8: note: expected ‘png_bytep’ but argument is of type ‘char *’
- extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start,
- ^
- cc -o bin/modelgen modelgen/modelgen.o common/common.a -lpng -lz -lm
- cc -c -g -O2 -Wall -Icommon -o modelgen/skinless.o modelgen/skinless.c
- cc -o bin/skinless modelgen/skinless.o common/common.a -lm
- cc -c -g -O2 -Wall -Icommon -o qcc/pr_comp.o qcc/pr_comp.c
- qcc/pr_comp.c: In function ‘Hash’:
- qcc/pr_comp.c:46:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- return (s_name^((int)scope))&(HASH_SIZE-1);
- ^
- qcc/pr_comp.c: In function ‘PR_ParseImmediate’:
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- if (!strcmp(G_STRING(cn->ofs), pr_immediate_string) )
- ^
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c:79:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- qcc/pr_comp.c: In function ‘PR_GetDef’:
- qcc/pr_comp.c:214:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- *(int *)&pr_globals[def->ofs] = pr.size_fields;
- ^
- qcc/pr_comp.c: In function ‘PR_ParseDefs’:
- qcc/pr_comp.c:1087:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- G_FUNCTION(def->ofs) = numfunctions;
- ^
- cc -c -g -O2 -Wall -Icommon -o qcc/pr_lex.o qcc/pr_lex.c
- cc -c -g -O2 -Wall -Icommon -o qcc/qcc.o qcc/qcc.c
- qcc/qcc.c: In function ‘WriteData’:
- qcc/qcc.c:256:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- dd->ofs = G_INT(def->ofs);
- ^
- qcc/qcc.c: In function ‘PR_DefForFieldOfs’:
- qcc/qcc.c:415:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- if (*((int *)&pr_globals[d->ofs]) == ofs)
- ^
- qcc/qcc.c: In function ‘PR_GlobalStringNoContents’:
- qcc/qcc.c:486:8: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
- void *val;
- ^
- qcc/qcc.c: In function ‘PR_GlobalString’:
- qcc/qcc.c:510:8: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
- void *val;
- ^
- cc -o bin/qcc qcc/pr_comp.o qcc/pr_lex.o qcc/qcc.o common/common.a -lm
- cc -c -g -O2 -Wall -Icommon -o qfiles/qfiles.o qfiles/qfiles.c
- cc -o bin/qfiles qfiles/qfiles.o common/common.a -lm
- cc -c -g -O2 -Wall -Icommon -o qlumpy/qlumpy.o qlumpy/qlumpy.c
- qlumpy/qlumpy.c: In function ‘LoadScreen’:
- qlumpy/qlumpy.c:135:4: warning: pointer targets in passing argument 1 of ‘png_sig_cmp’ differ in signedness [-Wpointer-sign]
- if (!(is_png = !png_sig_cmp(header, 0, PNG_BYTES_TO_CHECK)))
- ^
- In file included from /usr/include/png.h:538:0,
- from qlumpy/qlumpy.c:20:
- /usr/include/png.h:1594:8: note: expected ‘png_bytep’ but argument is of type ‘char *’
- extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start,
- ^
- qlumpy/qlumpy.c: In function ‘WriteLump’:
- qlumpy/qlumpy.c:238:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- while ((int)lump_p&3)
- ^
- cc -c -g -O2 -Wall -Icommon -o qlumpy/quakegrb.o qlumpy/quakegrb.c
- qlumpy/quakegrb.c: In function ‘GrabPic’:
- qlumpy/quakegrb.c:126:18: warning: variable ‘transcolor’ set but not used [-Wunused-but-set-variable]
- byte transcolor;
- ^
- cc -o bin/qlumpy qlumpy/qlumpy.o qlumpy/quakegrb.o common/common.a -lpng -lz -lm
- cc -c -g -O2 -Wall -Icommon -o sprgen/sprgen.o sprgen/sprgen.c
- sprgen/sprgen.c: In function ‘LoadScreen’:
- sprgen/sprgen.c:257:4: warning: pointer targets in passing argument 1 of ‘png_sig_cmp’ differ in signedness [-Wpointer-sign]
- if (!(is_png = !png_sig_cmp(header, 0, PNG_BYTES_TO_CHECK)))
- ^
- In file included from /usr/include/png.h:538:0,
- from sprgen/sprgen.c:25:
- /usr/include/png.h:1594:8: note: expected ‘png_bytep’ but argument is of type ‘char *’
- extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start,
- ^
- sprgen/sprgen.c: In function ‘Cmd_Frame’:
- sprgen/sprgen.c:386:30: warning: variable ‘source’ set but not used [-Wunused-but-set-variable]
- byte *screen_p, *source;
- ^
- cc -o bin/sprgen sprgen/sprgen.o common/common.a -lpng -lz -lm
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/qutils'
- make -C toon
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/toon'
- cc -o ../bin/toon -O2 -lm -Wall toon.c
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/toon'
- make -C tri2map
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/tri2map'
- cc -o ../bin/tri2map -O2 -lm -Wall tri2map.c
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/tri2map'
- make -C tyrlite
- make[1]: Entering directory `/home/danfun64/Documents/openquartz-src/utils/tyrlite'
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/entities.o tyrlite/entities.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/litfile.o tyrlite/litfile.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/ltface.o tyrlite/ltface.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- tyrlite/ltface.c: In function ‘LightFace’:
- tyrlite/ltface.c:793:12: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
- int w, h;
- ^
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/threads.o tyrlite/threads.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/trace.o tyrlite/trace.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o tyrlite/tyrlite.o tyrlite/tyrlite.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/bspfile.o common/bspfile.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- common/bspfile.c: In function ‘PrintBSPFileSizes’:
- common/bspfile.c:368:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- ((dmiptexlump_t *)dtexdata)->nummiptex, texdatasize);
- ^
- common/bspfile.c: In function ‘SwapBSPFile’:
- common/bspfile.c:126:41: warning: iteration 4u invokes undefined behavior [-Waggressive-loop-optimizations]
- texinfo[i].vecs[0][j] = LittleFloat(texinfo[i].vecs[0][j]);
- ^
- common/bspfile.c:125:2: note: containing loop
- for (j = 0; j < 8; j++)
- ^
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/cmdlib.o common/cmdlib.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- common/cmdlib.c: In function ‘ExpandPath’:
- common/cmdlib.c:128:9: warning: the address of ‘qdir’ will always evaluate as ‘true’ [-Waddress]
- if (!qdir)
- ^
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/mathlib.o common/mathlib.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- gcc -Wall -O3 -fomit-frame-pointer -ffast-math -mcpu=i686 -DLINUX -I./include -c -o common/tyrlog.o common/tyrlog.c
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- 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
- gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
- make[1]: Leaving directory `/home/danfun64/Documents/openquartz-src/utils/tyrlite'
- danfun64@DF64-debian:~/Documents/openquartz-src/utils$ cd ..
- danfun64@DF64-debian:~/Documents/openquartz-src$ cd pak0
- danfun64@DF64-debian:~/Documents/openquartz-src/pak0$ make
- ../utils/qutils/bin/qlumpy gfx_wad.ls
- qlumpy 2.0 by John Carmack, copyright (c) 1994 Id Software
- qdir: /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.ls
- gamedir: /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.ls
- qlumpy script: gfx_wad.ls
- grabbing from /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.lsgfx/numbers.png...
- ************ ERROR ************
- Couldn't open image /home/danfun64/Documents/openquartz-src/pak0/gfx_wad.lsgfx/numbers.png
- make: *** [gfx.wad] Error 1
- danfun64@DF64-debian:~/Documents/openquartz-src/pak0$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement