Need to start fixing those compiler warnings, too ;)
Yes! There lot in gui code, i am sure fixing some of them will make some bugs disappear :) For example i don't like those warnings about all hooks. I.e.
Quote:
S/appclass.cpp:483:92: note: in definition of macro ‘REXXHOOK’ #define REXXHOOK(name, param) static const struct Hook name = { { NULL, NULL }, (HOOKFUNC)&Rexx, NULL, (APTR)(param) } ^~~~ /amiga/Odyssey/odyssey-r155188-1.23/Source/WebKit/OrigynWebBrowser/Api/MorphOS/appclass.cpp:483:92: warning: cast between incompatible function types from ‘LONG (*)(Hook*, Object*, IPTR*)’ {aka ‘long int (*)(Hook*, long unsigned int*, long unsigned int*)’} to ‘HOOKFUNC’ {aka ‘long unsigned int (*)()’} [-Wcast-function-type]
Probabaly some cast should be enough , but it will fix lot of warnings output, as it as for one hook it can bring up to 20 warnings where it used.
Yeah, those hooks. It seems that C++ is more picky in function pointer casts than C. I have the same issue in some of my projects - (HOOKFUNC) gives warnings in C++. If someone has a solution, it would be nice to hear.
@Capehill Another commit: this time remove dependency on libaos4deps.a (which contain stccpy() and DoSuperNew()), now i made them as one more object file, so no needs for custom libaos4deps.a anymore.
Next is probably we need to get rid of -lauto, just so things are cleaner ?
Quote:
Yeah, those hooks. It seems that C++ is more picky in function pointer casts than C. I have the same issue in some of my projects - (HOOKFUNC) gives warnings in C++. If someone has a solution, it would be nice to hear.
At least i found how to case to hide the warning, through do not know how correct is it. I.e. instead of:
Did a new git clone (instead of a git pull) and recompile on my oooold dualcore intel machine, took some hours. Everything went fine. Just need to test build if it works ok on my SAM460ex
SDK and main code were updated on GitHub, so if one wants to build it, an update of SDK must as well as minimum data files required now in the beta07 archive
Thanks for the new release. Anything new besides blanking the mouse pointer while full screen videos are playing?
Never mind. Just found the answer in the "Odyssey 1.23 Progress" thread. Thanks!