The project can not be compiled because of errors in
rhgdb/main.cc file
cc1plus: warnings being treated as errors
main.cc: In function ‘void OpenDisWin()’:
main.cc:429: warning: dereferencing type-punned pointer will break strict-aliasing rules
main.cc: In function ‘void AddInspect(const char*)’:
main.cc:451: warning: dereferencing type-punned pointer will break strict-aliasing rules
main.cc: In member function ‘virtual void RHGDBApp::handleEvent(TEvent&)’:
main.cc:514: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [main.o] Error 1
make: *** [rhgdb/rhgdb.exe] Error 2
The error could be removed by replacing
AddWindow(dis_win, (TWindow **) & dis_win);
with
AddWindow(dis_win, (TWindow **) (void *) & dis_win);
for all of the three lines like above.
Could you make rhide working with newer versions of gdb?
I tried this, but can not compile because of incompatibilities between gdb versions