You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the interesting part during the compilation are the following lines
[ 60s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/build/CMakeFiles
[ 60s] [ 24%] Building C object CMakeFiles/mapserver.dir/mapthread.c.o
[ 60s] /usr/bin/gcc -Dmapserver_EXPORTS -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -fPIE -pie -Wall -Wdeclaration-after-statement -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -fPIC -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0/build -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0/renderers/agg/include -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0/mapscript/v8 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/mysql -I/usr/include/fastcgi -I/usr/include/pgsql -I/usr/include/gdal -I/usr/include/libxml2 -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0 -o CMakeFiles/mapserver.dir/mapthread.c.o -c /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/mapthread.c
[ 60s] /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/maptemplate.c: In function 'generateLegendTemplate':
[ 60s] /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/maptemplate.c:3053:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
[ 60s] fread(file, length, 1, stream);
[ 60s] ^
[ 60s] /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/maptemplate.c: In function 'processOneToManyJoin':
[ 60s] /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/maptemplate.c:3539:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
[ 60s] fgets(line, MS_BUFFER_LENGTH, stream); /* skip the first line since it's the magic string */
[ 60s] ^
[ 60s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/build/CMakeFiles 29
[ 60s] [ 25%] Building C object CMakeFiles/mapserver.dir/mapcopy.c.o
[ 60s] /usr/bin/gcc -Dmapserver_EXPORTS -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -fPIE -pie -Wall -Wdeclaration-after-statement -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -fPIC -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0/build -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0/renderers/agg/include -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0/mapscript/v8 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/mysql -I/usr/include/fastcgi -I/usr/include/pgsql -I/usr/include/gdal -I/usr/include/libxml2 -I/home/abuild/rpmbuild/BUILD/mapserver-7.0.0 -o CMakeFiles/mapserver.dir/mapcopy.c.o -c /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/mapcopy.c
[ 60s] /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/mapthread.c: In function 'msGetThreadId':
[ 60s] /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/mapthread.c:191:3: warning: return makes pointer from integer without a cast [enabled by default]
[ 60s] return pthread_self();
[ 60s] ^
[ 60s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/build/CMakeFiles 30
The text was updated successfully, but these errors were encountered:
tigerfoot
changed the title
Building mapserver 7.0 checker on openSUSE complain mapserver 64bit-portability-issue
Building mapserver 7.0 checker on openSUSE complain mapserver 64bit-portability-issue in mapthread.c
Oct 3, 2015
E: mapserver 64bit-portability-issue /home/abuild/rpmbuild/BUILD/mapserver-7.0.0/mapthread.c:191
I've no idea how to fix it.
Mapserver is configured with the following option.
I guess the interesting part during the compilation are the following lines
The text was updated successfully, but these errors were encountered: