MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015740 | CMake | CMake | public | 2015-09-12 12:45 | 2016-02-01 09:10 |
|
| Reporter | Thomas Klausner | |
| Assigned To | Brad King | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | x86_64 | OS | NetBSD | OS Version | 7.99.22 |
| Product Version | CMake 3.3 | |
| Target Version | CMake 3.4 | Fixed in Version | CMake 3.4 | |
|
| Summary | 0015740: 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. |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | patch-Source_CursesDialog_cmCursesWidget.cxx (583) 2015-09-12 12:45 https://public.kitware.com/Bug/file/5524/patch-Source_CursesDialog_cmCursesWidget.cxx |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-09-12 12:45 | Thomas Klausner | New Issue | |
| 2015-09-12 12:45 | Thomas Klausner | File Added: patch-Source_CursesDialog_cmCursesWidget.cxx | |
| 2015-09-14 09:53 | Brad King | Note Added: 0039416 | |
| 2015-09-14 09:54 | Brad King | Assigned To | => Brad King |
| 2015-09-14 09:54 | Brad King | Status | new => resolved |
| 2015-09-14 09:54 | Brad King | Resolution | open => fixed |
| 2015-09-14 09:54 | Brad King | Fixed in Version | => CMake 3.4 |
| 2015-09-14 09:54 | Brad King | Target Version | => CMake 3.4 |
| 2015-09-16 08:44 | Brad King | Note Edited: 0039416 | bug_revision_view_page.php?bugnote_id=39416#r1901 |
| 2016-02-01 09:10 | Robert Maynard | Note Added: 0040408 | |
| 2016-02-01 09:10 | Robert Maynard | Status | resolved => closed |