-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
Hello,
Thanks for this work and maintaining GtkRadiant. Thank you for your support over the years.
I was wondering if anyone else has spotted an error like this one and if it could possibly be a problem with my build system, or if not, maybe please let me know if you think this is a bug.
This is an excerpt of the build after executing scons target="radiant,q3map2,q3data" in a fresh directory that was used to git clone the code from the github repository: git clone https://github.com/TTimo/GtkRadiant.git
scons: done reading SConscript files.
scons: Building targets ...
scons: `install/radiant.bin' is up to date.
scons: `install/modules/vfspk3.so' is up to date.
scons: `install/modules/vfspak.so' is up to date.
scons: `install/modules/vfswad.so' is up to date.
scons: `install/modules/fgd.so' is up to date.
scons: `install/modules/entity.so' is up to date.
scons: `install/modules/image.so' is up to date.
gcc -o build/release/shobjs/libs/picomodel/lwo/pntspols.os -c -O2 -g -fno-strict-aliasing -pipe -Wall -fmessage-length=0 -fvisibility=hidden -I/usr/include/libxml2 -fPIC -DQ_NO_STLPORT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Ibuild/release/shobjs/include -Iinclude -Ibuild/release/shobjs/libs -Ilibs libs/picomodel/lwo/pntspols.c
libs/picomodel/lwo/pntspols.c: In function ‘lwGetTags’:
libs/picomodel/lwo/pntspols.c:535:59: error: passing argument 1 of ‘sgetS0’ from incompatible pointer type [-Wincompatible-pointer-types]
535 | tlist->tag[ i + tlist->offset ] = sgetS0( &bp );
| ^~~
| |
| char **
In file included from libs/picomodel/lwo/pntspols.c:11:
libs/picomodel/lwo/lwo2.h:644:31: note: expected ‘unsigned char **’ but argument is of type ‘char **’
644 | char *sgetS0( unsigned char **bp );
| ~~~~~~~~~~~~~~~~^~
scons: *** [build/release/shobjs/libs/picomodel/lwo/pntspols.os] Error 1
scons: building terminated because of errors.
I was trying to work around the data types, but I just made it worse the further into the rabbit hole I went. Does anyone have any thoughts or feedback? Thanks again!
Metadata
Metadata
Assignees
Labels
No labels