Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 18 May 2001 23:29:09 -0500 Message-ID: <3B05F695.59955F0C@qwest.net> From: "AJ Reins" To: "cygwin AT cygwin DOT com" X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Subject: Patch for ncurses and pedantic Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here is a small patch to stop a compilation warning when compiling with the pedantic switch. The warning given is garbage after undefine. Very informative message! *** ncurses_dll.h.old Wed Apr 25 00:33:46 2001 --- ncurses_dll.h Thu May 17 11:01:58 2001 *************** *** 12,19 **** # endif # undef NCURSES_IMPEXP # undef NCURSES_API ! # undef NCURSES_EXPORT(type,symbol) ! # undef NCURSES_EXPORT_VAR(type) # if defined(NCURSES_DLL) /* building a DLL */ # define NCURSES_IMPEXP __declspec(dllexport) --- 12,19 ---- # endif # undef NCURSES_IMPEXP # undef NCURSES_API ! # undef NCURSES_EXPORT ! # undef NCURSES_EXPORT_VAR # if defined(NCURSES_DLL) /* building a DLL */ # define NCURSES_IMPEXP __declspec(dllexport) -- AJ Reins - tbispqwest.net -or- tbispmy-deja.com Warning label I would like to see on software: "Before using, read instructions. If you do not understand or cannot read, do no use this product." -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple