News:

Congratulations!
 You've won the News Item Lottery! Your prize? Reading this news item! :)

r10583 compile

Started by Andarix, March 21, 2022, 04:54:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

Android

Quote...
2022-03-21T14:32:48.4196699Z ===> HOSTCXX src/simutrans/simskin.cc
2022-03-21T14:32:48.4205208Z src/simutrans/simmain.cc:1110:90: error: cannot pass object of non-trivial type 'std::string' (aka 'basic_string<char>') through variadic method; call will abort at runtime [-Wnon-pod-varargs]
2022-03-21T14:32:48.4206066Z                         dbg->warning("Parsing simuconf.tab", "Pakset %s defines show_month will be ignored!", env_t::pak_name);
2022-03-21T14:32:48.4206448Z                                                                                                               ^
2022-03-21T14:32:48.4558289Z /opt/android-sdk-linux/ndk/23.0.7599858/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi16-clang++  -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC  -isystem/android-sdl/project/jni/application/../SDL2/include  -isystem/android-sdl/project/jni/application/../png/include -isystem/android-sdl/project/jni/application/../freetype/include -isystem/android-sdl/project/jni/application/../bzip2/include -isystem/android-sdl/project/jni/application/../fluidsynth/include  -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections  -frtti -fexceptions -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC  -isystem/android-sdl/project/jni/application/../SDL2/include  -isystem/android-sdl/project/jni/application/../png/include -isystem/android-sdl/project/jni/application/../freetype/include -isystem/android-sdl/project/jni/application/../bzip2/include -isystem/android-sdl/project/jni/application/../fluidsynth/include  -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections  -O1 -g -DDEBUG -DMSG_LEVEL=3 -DUSE_FREETYPE -I/android-sdl/project/jni/application/../freetype/include -DUSE_FLUIDSYNTH_MIDI -DREVISION=9952 -DGIT_HASH=0x6b890bb -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align  -I/android-sdl/project/jni/application/../SDL2/include -DCOLOUR_DEPTH=16 -c -MMD -o build/armeabi-v7a/src/simutrans/simskin.o src/simutrans/simskin.cc
2022-03-21T14:32:48.4900409Z 1 error generated.

Automated Test

Quote...
2022-03-21T14:28:22.4285525Z ===> HOSTCXX src/simutrans/simmain.cc
2022-03-21T14:28:22.9507489Z src/simutrans/simmain.cc:8:2: warning: "Simutrans is preferably compiled as 32 bit binary!" [-W#warnings]
2022-03-21T14:28:22.9508803Z #warning "Simutrans is preferably compiled as 32 bit binary!"
2022-03-21T14:28:22.9509309Z  ^
2022-03-21T14:28:22.9525976Z src/simutrans/simmain.cc:1110:90: error: cannot pass object of non-trivial type 'std::string' (aka 'basic_string<char>') through variadic method; call will abort at runtime [-Wnon-pod-varargs]
2022-03-21T14:28:22.9527445Z                         dbg->warning("Parsing simuconf.tab", "Pakset %s defines show_month will be ignored!", env_t::pak_name);
2022-03-21T14:28:22.9528306Z                                                                                                               ^
2022-03-21T14:28:22.9529174Z 1 warning and 1 error generated.
2022-03-21T14:28:22.9529628Z make: *** [common.mk:50: build/default/src/simutrans/simmain.o] Error 1
2022-03-21T14:28:22.9530010Z make: *** Waiting for unfinished jobs....
2022-03-21T14:28:27.8502988Z ##[error]Process completed with exit code 2.

Roboron

Should be working again in r10585.

Andarix