Summary:ASTERISK-18108: building asterisk under cygwin: errors in main/editline/np/unvis.c
Reporter:feyfre (feyfre)Labels:
Date Opened:2011-07-11 07:05:38Date Closed:2017-12-19 06:42:41.000-0600
Versions:1.8.4 Frequency of
Environment:CYGWIN_NT-5.1Attachments:( 0) unvis.c.patch.gz
Description:When building asterisk core on cygwin there is error emitted
np/unvis.c:83: error: expected ';' before 'int'
np/unvis.c:88: error: expected identifier or '(' befire '{' token

Error disappears by commenting out lines 60-63 in main/editline/np/unvis.c
#ifdef __warn_references
   "warning: reference to compatibility unvis(); include <vis.h> for correct reference")

Unfortunately I do not know what mean this lines and in what conditions they can be safely excluded, but without them build precess successful.

Affects version 1.8-1.8.5-rc1
Comments:By: Paul Belanger (pabelanger) 2011-10-18 12:32:29.655-0500


By: feyfre (feyfre) 2011-10-18 16:47:56.323-0500

patches main/editline/np/unvis.c compilation error on CYGWIN platform
tested only on cygwin
(based on version)

By: Joshua C. Colp (jcolp) 2017-12-19 06:42:41.656-0600

The Cygwin platform is no longer supported at all in Asterisk.