Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#15425 closed bug (fixed)

src/tests/kits/game/ParticlesII/particlesII.cpp fails to compile

Reported by: nephele Owned by: jackburton
Priority: normal Milestone: R1/beta2
Component: Kits/Game Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev53555 probably an amd64 issue i guess

# jam                                                                                                                                                                                                             
Starting build of type regular ... 
Skipping setjmp_test2.S test on non-x86 
...patience...
...patience...
...found 12702 target(s)...
...updating 2 target(s)...
C++ ../../../../../generated/objects/haiku/x86_64/release/tests/kits/game/ParticlesII/particlesII.o 
particlesII.cpp: In member function 'virtual void NWindowScreen::ScreenConnected(bool)':
particlesII.cpp:178:79: error: invalid conversion from 'long int (*)(void*)' to 'thread_func' {aka 'int (*)(void*)'} [-fpermissive]
    tid = spawn_thread(Entry,"rendering thread", B_URGENT_DISPLAY_PRIORITY,this);
                                                                               ^
In file included from ../../../../../headers/os/interface/InterfaceDefs.h:10,
                 from ../../../../../headers/os/app/Application.h:10,
                 from particlesII.cpp:1:
../../../../../headers/os/kernel/OS.h:332:31: note:   initializing argument 1 of 'thread_id spawn_thread(thread_func, const char*, int32, void*)'
 extern thread_id spawn_thread(thread_func, const char *name, int32 priority,
                               ^~~~~~~~~~~

gcc -c "particlesII.cpp" -O2 -Wall -Wno-multichar -Wpointer-arith -Wsign-compare -Wno-ctor-dtor-privacy -Woverloaded-virtual -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-builtin-fork -fno-builtin-vfork -nostdinc -DARCH_x86_64 -DBOOT_ARCHIVE_IMAGE_OFFSET=320 -D__HAIKU_PRIMARY_PACKAGING_ARCH=\"x86_64\" -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -DHAIKU_TARGET_PLATFORM_HAIKU -DHAIKU_REGULAR_BUILD -iquote ../../../../../build/user_config_headers -iquote ../../../../../build/config_headers -iquote . -iquote ../../../../../generated/objects/common/tests/kits/game/ParticlesII -iquote ../../../../../generated/objects/haiku_host/x86_64/common/tests/kits/game/ParticlesII -iquote ../../../../../generated/objects/haiku/x86_64/common/tests/kits/game/ParticlesII -I ../../../../../generated/build_packages/gcc_syslibs_devel-7.3.0_2018_05_01-4-x86_64/develop/headers/c++ -I ../../../../../generated/build_packages/gcc_syslibs_devel-7.3.0_2018_05_01-4-x86_64/develop/headers/c++/x86_64-unknown-haiku -I ../../../../../generated/build_packages/gcc_syslibs_devel-7.3.0_2018_05_01-4-x86_64/develop/headers/c++/backward -I ../../../../../generated/build_packages/gcc_syslibs_devel-7.3.0_2018_05_01-4-x86_64/develop/headers/c++/ext -I ../../../../../headers/glibc -I ../../../../../headers/posix -I ../../../../../generated/build_packages/gcc_syslibs_devel-7.3.0_2018_05_01-4-x86_64/develop/headers/gcc/include -I ../../../../../generated/build_packages/gcc_syslibs_devel-7.3.0_2018_05_01-4-x86_64/develop/headers/gcc/include-fixed -I ../../../../../headers -I ../../../../../headers/os -I ../../../../../headers/os/add-ons -I ../../../../../headers/os/add-ons/file_system -I ../../../../../headers/os/add-ons/graphics -I ../../../../../headers/os/add-ons/input_server -I ../../../../../headers/os/add-ons/registrar -I ../../../../../headers/os/add-ons/screen_saver -I ../../../../../headers/os/add-ons/tracker -I ../../../../../headers/os/app -I ../../../../../headers/os/device -I ../../../../../headers/os/drivers -I ../../../../../headers/os/game -I ../../../../../headers/os/interface -I ../../../../../headers/os/kernel -I ../../../../../headers/os/locale -I ../../../../../headers/os/media -I ../../../../../headers/os/mail -I ../../../../../headers/os/midi -I ../../../../../headers/os/midi2 -I ../../../../../headers/os/net -I ../../../../../headers/os/storage -I ../../../../../headers/os/support -I ../../../../../headers/os/translation -I ../../../../../headers/private/. -o "../../../../../generated/objects/haiku/x86_64/release/tests/kits/game/ParticlesII/particlesII.o"

...failed C++ ../../../../../generated/objects/haiku/x86_64/release/tests/kits/game/ParticlesII/particlesII.o ...

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 1 target(s)...
# 

Change History (2)

comment:1 by pulkomandy, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev53671.

comment:2 by nielx, 4 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.