Build failure on 32bit #2

Open
opened 2021-08-22 08:38:34 -05:00 by Begasus · 2 comments
Begasus commented 2021-08-22 08:38:34 -05:00 (Migrated from github.com)
g++ -c application/views/ConversationListView.cpp -iquote./  -iquote./  -iquoteapplication/  -iquoteapplication/preferences/  -iquoteapplication/views/  -iquoteapplication/windows/  -iquotedata/icons/misc/  -iquotedata/icons/replicant/  -iquotedata/icons/status/  -iquotedata/misc/  -iquoteobjects.x86-cc8-release/  -isystemlibs/  -O3   -DVERSION="\"0.0.2\""  -DBUILD_DATE="\"2021-08-22  -D15:27\""  -DDEBUG_ENABLED=false  -o "objects.x86-cc8-release/ConversationListView.o"
g++ -c application/views/ConversationView.cpp -iquote./  -iquote./  -iquoteapplication/  -iquoteapplication/preferences/  -iquoteapplication/views/  -iquoteapplication/windows/  -iquotedata/icons/misc/  -iquotedata/icons/replicant/  -iquotedata/icons/status/  -iquotedata/misc/  -iquoteobjects.x86-cc8-release/  -isystemlibs/  -O3   -DVERSION="\"0.0.2\""  -DBUILD_DATE="\"2021-08-22  -D15:27\""  -DDEBUG_ENABLED=false  -o "objects.x86-cc8-release/ConversationView.o"
application/views/ConversationView.cpp: In member function 'void ConversationView::GetWeights(float*, float*, float*, float*)':
application/views/ConversationView.cpp:312:40: error: call of overloaded 'ItemWeight(int)' is ambiguous
  *horizChat = fHorizSplit->ItemWeight(0);
                                        ^
In file included from /boot/system/develop/headers/os/interface/LayoutBuilder.h:21,
                 from application/views/ConversationView.cpp:14:
/boot/system/develop/headers/os/interface/SplitView.h:38:13: note: candidate: 'float BSplitView::ItemWeight(int32) const'
    float    ItemWeight(int32 index) const;
             ^~~~~~~~~~
/boot/system/develop/headers/os/interface/SplitView.h:39:13: note: candidate: 'float BSplitView::ItemWeight(BLayoutItem*) const'
    float    ItemWeight(BLayoutItem* item) const;
             ^~~~~~~~~~
application/views/ConversationView.cpp:314:38: error: call of overloaded 'ItemWeight(int)' is ambiguous
  *vertChat = fVertSplit->ItemWeight(0);
                                      ^
In file included from /boot/system/develop/headers/os/interface/LayoutBuilder.h:21,
                 from application/views/ConversationView.cpp:14:
/boot/system/develop/headers/os/interface/SplitView.h:38:13: note: candidate: 'float BSplitView::ItemWeight(int32) const'
    float    ItemWeight(int32 index) const;
             ^~~~~~~~~~
/boot/system/develop/headers/os/interface/SplitView.h:39:13: note: candidate: 'float BSplitView::ItemWeight(BLayoutItem*) const'
    float    ItemWeight(BLayoutItem* item) const;
             ^~~~~~~~~~
/boot/system/develop//etc/makefile-engine:300: recipe for target 'objects.x86-cc8-release/ConversationView.o' failed
make[1]: *** [objects.x86-cc8-release/ConversationView.o] Error 1
make[1]: Leaving directory '/Opslag/haikuports/haiku-apps/chat_o_matic/work-x86-0.0.2/sources/Chat-O-Matic-0.0.2'
Makefile:4: recipe for target 'app' failed
make: *** [app] Error 2
``` g++ -c application/views/ConversationListView.cpp -iquote./ -iquote./ -iquoteapplication/ -iquoteapplication/preferences/ -iquoteapplication/views/ -iquoteapplication/windows/ -iquotedata/icons/misc/ -iquotedata/icons/replicant/ -iquotedata/icons/status/ -iquotedata/misc/ -iquoteobjects.x86-cc8-release/ -isystemlibs/ -O3 -DVERSION="\"0.0.2\"" -DBUILD_DATE="\"2021-08-22 -D15:27\"" -DDEBUG_ENABLED=false -o "objects.x86-cc8-release/ConversationListView.o" g++ -c application/views/ConversationView.cpp -iquote./ -iquote./ -iquoteapplication/ -iquoteapplication/preferences/ -iquoteapplication/views/ -iquoteapplication/windows/ -iquotedata/icons/misc/ -iquotedata/icons/replicant/ -iquotedata/icons/status/ -iquotedata/misc/ -iquoteobjects.x86-cc8-release/ -isystemlibs/ -O3 -DVERSION="\"0.0.2\"" -DBUILD_DATE="\"2021-08-22 -D15:27\"" -DDEBUG_ENABLED=false -o "objects.x86-cc8-release/ConversationView.o" application/views/ConversationView.cpp: In member function 'void ConversationView::GetWeights(float*, float*, float*, float*)': application/views/ConversationView.cpp:312:40: error: call of overloaded 'ItemWeight(int)' is ambiguous *horizChat = fHorizSplit->ItemWeight(0); ^ In file included from /boot/system/develop/headers/os/interface/LayoutBuilder.h:21, from application/views/ConversationView.cpp:14: /boot/system/develop/headers/os/interface/SplitView.h:38:13: note: candidate: 'float BSplitView::ItemWeight(int32) const' float ItemWeight(int32 index) const; ^~~~~~~~~~ /boot/system/develop/headers/os/interface/SplitView.h:39:13: note: candidate: 'float BSplitView::ItemWeight(BLayoutItem*) const' float ItemWeight(BLayoutItem* item) const; ^~~~~~~~~~ application/views/ConversationView.cpp:314:38: error: call of overloaded 'ItemWeight(int)' is ambiguous *vertChat = fVertSplit->ItemWeight(0); ^ In file included from /boot/system/develop/headers/os/interface/LayoutBuilder.h:21, from application/views/ConversationView.cpp:14: /boot/system/develop/headers/os/interface/SplitView.h:38:13: note: candidate: 'float BSplitView::ItemWeight(int32) const' float ItemWeight(int32 index) const; ^~~~~~~~~~ /boot/system/develop/headers/os/interface/SplitView.h:39:13: note: candidate: 'float BSplitView::ItemWeight(BLayoutItem*) const' float ItemWeight(BLayoutItem* item) const; ^~~~~~~~~~ /boot/system/develop//etc/makefile-engine:300: recipe for target 'objects.x86-cc8-release/ConversationView.o' failed make[1]: *** [objects.x86-cc8-release/ConversationView.o] Error 1 make[1]: Leaving directory '/Opslag/haikuports/haiku-apps/chat_o_matic/work-x86-0.0.2/sources/Chat-O-Matic-0.0.2' Makefile:4: recipe for target 'app' failed make: *** [app] Error 2 ```
JadedCtrl commented 2021-08-22 11:46:40 -05:00 (Migrated from github.com)

10b63e4 should help with the ItemWeights

10b63e4 should help with the ItemWeights
Begasus commented 2021-08-22 12:12:07 -05:00 (Migrated from github.com)

Fixed thanks! (will need a new rebuild for haikuporter to be sure though) ;)

Fixed thanks! (will need a new rebuild for haikuporter to be sure though) ;)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jadedctrl/Chat-O-Matic#2
No description provided.