I'm trying to compile ADMB in a raspberry pi 4 with Ubuntu 19.10 and gcc 9.2.1 . The architecture is arm 64. I'm getting this error both with 11.6 and 12.1. Any ideas how to fix or workaround.
df1b2-separable/df1b2f24.cpp: In member function ‘virtual void df1b2_init_bounded_matrix::set_value(const init_df1b2vector&, const int&, const df1b2variable&)’:
df1b2-separable/df1b2f24.cpp:145:41: error: cast from ‘df1b2variable*’ to ‘int’ loses precision [-fpermissive]
145 | int tmp= (int)( &((*this)(i,j)) );