The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15740 ====================================================================== Reported By: Thomas Klausner Assigned To: ====================================================================== Project: CMake Issue ID: 15740 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-09-12 12:45 EDT Last Modified: 2015-09-12 12:45 EDT ====================================================================== Summary: NetBSD: curses compatibility Description: set_field_buffer on NetBSD, see http://netbsd.gw.com/cgi-bin/man-cgi?set_field_buffer++NetBSD-current, and Solaris, see https://docs.oracle.com/cd/E36784_01/html/E36880/set-field-buffer-3curses.html, has as third argument "char *" while ncurses has "const char *".
I don't know if one is more correct than the other. Steps to Reproduce: Build on NetBSD (or presumably on Solaris). Additional Information: The attached patch casts the const away to fix the build on NetBSD. I think this shouldn't cause trouble with ncurses, but let me know if it does. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-09-12 12:45 Thomas KlausnerNew Issue 2015-09-12 12:45 Thomas KlausnerFile Added: patch-Source_CursesDialog_cmCursesWidget.cxx ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers