--- a/ncurses-5.9/c++/cursesf.h +++ a/ncurses-5.9/c++/cursesf.h @@ -677,7 +677,7 @@ protected: } public: - NCursesUserForm (NCursesFormField Fields[], + NCursesUserForm (NCursesFormField* Fields[], const T* p_UserData = STATIC_CAST(T*)(0), bool with_frame=FALSE, bool autoDelete_Fields=FALSE) @@ -686,7 +686,7 @@ public: set_user (const_cast(p_UserData)); }; - NCursesUserForm (NCursesFormField Fields[], + NCursesUserForm (NCursesFormField* Fields[], int nlines, int ncols, int begin_y = 0, --- a/ncurses-5.9/c++/cursesm.h +++ a/ncurses-5.9/c++/cursesm.h @@ -635,7 +635,7 @@ protected: } public: - NCursesUserMenu (NCursesMenuItem Items[], + NCursesUserMenu (NCursesMenuItem* Items[], const T* p_UserData = STATIC_CAST(T*)(0), bool with_frame=FALSE, bool autoDelete_Items=FALSE) @@ -644,7 +644,7 @@ public: set_user (const_cast(p_UserData)); }; - NCursesUserMenu (NCursesMenuItem Items[], + NCursesUserMenu (NCursesMenuItem* Items[], int nlines, int ncols, int begin_y = 0,