View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015740CMakeCMakepublic2015-09-12 12:452016-02-01 09:10
ReporterThomas Klausner 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformx86_64OSNetBSDOS Version7.99.22
Product VersionCMake 3.3 
Target VersionCMake 3.4Fixed in VersionCMake 3.4 
Summary0015740: NetBSD: curses compatibility
Descriptionset_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 ReproduceBuild on NetBSD (or presumably on Solaris).
Additional InformationThe 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.
TagsNo tags attached.
Attached Filescxx file icon patch-Source_CursesDialog_cmCursesWidget.cxx [^] (583 bytes) 2015-09-12 12:45

 Relationships

  Notes
(0039416)
Brad King (manager)
2015-09-14 09:53
edited on: 2015-09-16 08:44

Patch applied, thanks:

 ccmake: Use more-portable call to set_field_buffer
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7046eedd [^]

(0040408)
Robert Maynard (manager)
2016-02-01 09:10

Closing resolved issues that have not been updated in more than 4 months.

 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
2016-02-01 09:10 Robert Maynard Note Added: 0040408
2016-02-01 09:10 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team